1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-10 13:23:39 +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

@@ -43,7 +43,6 @@ namespace Bit.iOS.Core.Utilities
var appGroupContainer = new NSFileManager().GetContainerUrl(AppGroupId);
var liteDbStorage = new LiteDbStorageService(
Path.Combine(appGroupContainer.Path, "Library", "bitwarden.db"));
liteDbStorage.InitAsync();
var localizeService = new LocalizeService();
var broadcasterService = new BroadcasterService();
var messagingService = new MobileBroadcasterMessagingService(broadcasterService);