1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-24 12:13:18 +00:00

Workaround for lack of shared DB support (#1182)

* workaround for lack of shared DB support

* dispose db in finally
This commit is contained in:
Matt Portune
2020-12-16 16:37:26 -05:00
committed by GitHub
parent acf2e4360f
commit ef4b53b337
3 changed files with 65 additions and 41 deletions

View File

@@ -87,7 +87,6 @@ namespace Bit.Droid
var preferencesStorage = new PreferencesStorageService(null);
var documentsPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal);
var liteDbStorage = new LiteDbStorageService(Path.Combine(documentsPath, "bitwarden.db"));
liteDbStorage.InitAsync();
var localizeService = new LocalizeService();
var broadcasterService = new BroadcasterService();
var messagingService = new MobileBroadcasterMessagingService(broadcasterService);