Functioning UI
This commit is contained in:
@@ -26,10 +26,8 @@ export class PreferencesManager {
|
||||
) {
|
||||
this.application = application;
|
||||
this.appState = appState;
|
||||
appState.addObserver(async (eventName) => {
|
||||
if (eventName === AppStateEvents.ApplicationReady) {
|
||||
await this.initialize();
|
||||
}
|
||||
application.onReady(() => {
|
||||
this.initialize();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user