mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
check lock after migration
This commit is contained in:
parent
c9faa40475
commit
6b68e85077
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,7 @@ namespace Bit.App.Migration
|
||||||
var passwordGenerationService = ServiceContainer.Resolve<IPasswordGenerationService>(
|
var passwordGenerationService = ServiceContainer.Resolve<IPasswordGenerationService>(
|
||||||
"passwordGenerationService");
|
"passwordGenerationService");
|
||||||
var syncService = ServiceContainer.Resolve<ISyncService>("syncService");
|
var syncService = ServiceContainer.Resolve<ISyncService>("syncService");
|
||||||
|
var lockService = ServiceContainer.Resolve<ILockService>("lockService");
|
||||||
|
|
||||||
// Get old data
|
// Get old data
|
||||||
|
|
||||||
|
@ -179,6 +180,7 @@ namespace Bit.App.Migration
|
||||||
settingsShim.Remove(Constants.OldUserIdKey);
|
settingsShim.Remove(Constants.OldUserIdKey);
|
||||||
Migrating = false;
|
Migrating = false;
|
||||||
messagingService.Send("migrated");
|
messagingService.Send("migrated");
|
||||||
|
await lockService.CheckLockAsync();
|
||||||
var task = Task.Run(() => syncService.FullSyncAsync(true));
|
var task = Task.Run(() => syncService.FullSyncAsync(true));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue