mirror of
https://github.com/bitwarden/android.git
synced 2025-01-12 11:17:30 +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()
|
public static async Task<bool> PerformMigrationAsync()
|
||||||
{
|
{
|
||||||
if(!NeedsMigration())
|
if(!NeedsMigration() || Migrating)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -112,7 +112,7 @@ namespace Bit.App.Migration
|
||||||
settingsShim.GetValueOrDefault("push:registeredToken", null));
|
settingsShim.GetValueOrDefault("push:registeredToken", null));
|
||||||
Log("Migrating 6.9");
|
Log("Migrating 6.9");
|
||||||
await storageService.SaveAsync(Constants.PushLastRegistrationDateKey,
|
await storageService.SaveAsync(Constants.PushLastRegistrationDateKey,
|
||||||
settingsShim.GetValueOrDefault("push:lastRegistrationDate", null));
|
settingsShim.GetValueOrDefault("push:lastRegistrationDate", DateTime.MinValue));
|
||||||
Log("Migrating 6.10");
|
Log("Migrating 6.10");
|
||||||
await storageService.SaveAsync("rememberedEmail",
|
await storageService.SaveAsync("rememberedEmail",
|
||||||
settingsShim.GetValueOrDefault("other:lastLoginEmail", null));
|
settingsShim.GetValueOrDefault("other:lastLoginEmail", null));
|
||||||
|
|
Loading…
Reference in a new issue