mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
proper type for push reg date on migration
This commit is contained in:
parent
97e98e1d9d
commit
11ec9b320e
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ namespace Bit.App.Migration
|
|||
|
||||
public static async Task<bool> PerformMigrationAsync()
|
||||
{
|
||||
if(!NeedsMigration())
|
||||
if(!NeedsMigration() || Migrating)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ namespace Bit.App.Migration
|
|||
settingsShim.GetValueOrDefault("push:registeredToken", null));
|
||||
Log("Migrating 6.9");
|
||||
await storageService.SaveAsync(Constants.PushLastRegistrationDateKey,
|
||||
settingsShim.GetValueOrDefault("push:lastRegistrationDate", null));
|
||||
settingsShim.GetValueOrDefault("push:lastRegistrationDate", DateTime.MinValue));
|
||||
Log("Migrating 6.10");
|
||||
await storageService.SaveAsync("rememberedEmail",
|
||||
settingsShim.GetValueOrDefault("other:lastLoginEmail", null));
|
||||
|
|
Loading…
Reference in a new issue