fix: activate themes on desktop

This commit is contained in:
Baptiste Grob
2020-09-28 12:07:13 +02:00
parent 4ae680e936
commit 92b223d35a
4 changed files with 4 additions and 25 deletions

View File

@@ -57,6 +57,9 @@ class ApplicationViewCtrl extends PureViewCtrl {
}
async loadApplication() {
this.application!.componentManager!.setDesktopManager(
this.application!.getDesktopService()
);
await this.application!.prepareForLaunch({
receiveChallenge: async (challenge) => {
this.application!.promptForChallenge(challenge);
@@ -67,9 +70,6 @@ class ApplicationViewCtrl extends PureViewCtrl {
async onAppStart() {
super.onAppStart();
this.application!.componentManager!.setDesktopManager(
this.application!.getDesktopService()
);
this.setState({
ready: true,
needsUnlock: this.application!.hasPasscode()