fix: Fixes issue where lock screen would not use previously active theme (#2372)
This commit is contained in:
@@ -442,12 +442,8 @@ export class SNApplication implements ApplicationInterface, AppGroupManagedAppli
|
||||
|
||||
this.sockets.loadWebSocketUrl()
|
||||
|
||||
await this.sessions.initializeFromDisk()
|
||||
|
||||
this.settings.initializeFromDisk()
|
||||
|
||||
this.features.initializeFromDisk()
|
||||
|
||||
this.launched = true
|
||||
await this.notifyEvent(ApplicationEvent.Launched)
|
||||
await this.handleStage(ApplicationStage.Launched_10)
|
||||
@@ -1134,6 +1130,7 @@ export class SNApplication implements ApplicationInterface, AppGroupManagedAppli
|
||||
this.events.addEventHandler(this.dependencies.get(TYPES.SyncService), IntegrityEvent.IntegrityCheckCompleted)
|
||||
this.events.addEventHandler(this.dependencies.get(TYPES.UserService), AccountEvent.SignedInOrRegistered)
|
||||
this.events.addEventHandler(this.dependencies.get(TYPES.SessionManager), ApiServiceEvent.SessionRefreshed)
|
||||
this.events.addEventHandler(this.dependencies.get(TYPES.SubscriptionManager), SessionEvent.Restored)
|
||||
|
||||
this.events.addEventHandler(this.dependencies.get(TYPES.VaultInviteService), SyncEvent.ReceivedSharedVaultInvites)
|
||||
this.events.addEventHandler(this.dependencies.get(TYPES.VaultInviteService), SessionEvent.UserKeyPairChanged)
|
||||
@@ -1165,6 +1162,7 @@ export class SNApplication implements ApplicationInterface, AppGroupManagedAppli
|
||||
)
|
||||
}
|
||||
|
||||
this.events.addEventHandler(this.dependencies.get(TYPES.SessionManager), ApplicationEvent.ApplicationStageChanged)
|
||||
this.events.addEventHandler(
|
||||
this.dependencies.get(TYPES.SelfContactManager),
|
||||
ApplicationEvent.ApplicationStageChanged,
|
||||
|
||||
Reference in New Issue
Block a user