Commit 4b71a9da authored by Azat Alimov's avatar Azat Alimov
Browse files

data load fixed

parent 16ba645e
Showing with 6 additions and 4 deletions
+6 -4
......@@ -643,6 +643,7 @@ export class RootContext extends MemriContext {
// Reload for easy adjusting
this.views.context = this
this.views.install()
this.sessions.install(this);
}
// #endif*/
......
......@@ -17,6 +17,7 @@ import {dataItemListToArray} from "../../model/schema";
import {RealmObjects} from "../../model/RealmLocal";
import {CVUStateDefinition} from "../../model/items/Item";
import {ViewArguments} from "./CascadableDict";
import {CascadingRenderConfig} from "./Renderers";
export class Views {
///
......
......@@ -250,8 +250,8 @@ import {CacheMemri} from "./model/Cache";*/
let context = new RootContext("Memri GUI", "ABCDEF");
context.installer.await(() => {
/*context.boot(false, () => {
/!*this.settingWatcher = context.settings.subscribe(
context.boot(false, () => {
/*this.settingWatcher = context.settings.subscribe(
"device/sensors/location/track",
type: Bool.self
).sink {
......@@ -259,8 +259,8 @@ context.installer.await(() => {
if value { SensorManager.shared.locationTrackingEnabledByUser() }
else { SensorManager.shared.locationTrackingDisabledByUser() }
}
}*!/
})*/
}*/
})
});
context.installer.install(context, "");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment