mirror of
https://github.com/bitwarden/mobile
synced 2026-01-07 11:03:54 +00:00
check lock after migration
This commit is contained in:
@@ -40,6 +40,7 @@ namespace Bit.App.Migration
|
||||
var passwordGenerationService = ServiceContainer.Resolve<IPasswordGenerationService>(
|
||||
"passwordGenerationService");
|
||||
var syncService = ServiceContainer.Resolve<ISyncService>("syncService");
|
||||
var lockService = ServiceContainer.Resolve<ILockService>("lockService");
|
||||
|
||||
// Get old data
|
||||
|
||||
@@ -179,6 +180,7 @@ namespace Bit.App.Migration
|
||||
settingsShim.Remove(Constants.OldUserIdKey);
|
||||
Migrating = false;
|
||||
messagingService.Send("migrated");
|
||||
await lockService.CheckLockAsync();
|
||||
var task = Task.Run(() => syncService.FullSyncAsync(true));
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user