mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-24 11:55:50 +01:00
move storage defaults out to app
This commit is contained in:
parent
1f706802f6
commit
0c0b551f1c
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit 35039fdae2038f6bdfbdef6616b2bfae0053d47b
|
||||
Subproject commit 12533dd951e5f248ee82ca0100fb9fd215fc6bd3
|
@ -55,7 +55,11 @@ export class Main {
|
||||
|
||||
this.logService = new ElectronLogService(null, app.getPath('userData'));
|
||||
this.i18nService = new I18nService('en', './locales/');
|
||||
this.storageService = new ElectronStorageService();
|
||||
|
||||
const storageDefaults: any = {};
|
||||
// Default lock options to "on restart".
|
||||
storageDefaults[ConstantsService.lockOptionKey] = -1;
|
||||
this.storageService = new ElectronStorageService(storageDefaults);
|
||||
|
||||
this.windowMain = new WindowMain(this.storageService);
|
||||
this.messagingMain = new MessagingMain(this);
|
||||
|
Loading…
Reference in New Issue
Block a user