fix(@desktop/profile): changing language does not change it in UI
A call to the init of the language service was missing. Calling it during boot process reoslves the bug. fixes #4104
This commit is contained in:
parent
de9b475dd5
commit
7c7b2eb34b
|
@ -281,6 +281,7 @@ proc load(self: AppController) =
|
|||
self.providerService.init()
|
||||
self.walletAccountService.init()
|
||||
self.transactionService.init()
|
||||
self.languageService.init()
|
||||
|
||||
# other global instances
|
||||
self.buildAndRegisterLocalAccountSensitiveSettings()
|
||||
|
@ -319,4 +320,4 @@ proc buildAndRegisterUserProfile(self: AppController) =
|
|||
singletonInstance.userProfile.setSendUserStatus(sendUserStatus)
|
||||
singletonInstance.userProfile.setCurrentUserStatus(currentUserStatus)
|
||||
|
||||
singletonInstance.engine.setRootContextProperty("userProfile", self.userProfileVariant)
|
||||
singletonInstance.engine.setRootContextProperty("userProfile", self.userProfileVariant)
|
||||
|
|
Loading…
Reference in New Issue