1
0
mirror of https://github.com/bitwarden/mobile.git synced 2025-01-30 22:31:26 +01:00

old userid is string

This commit is contained in:
Kyle Spearrin 2019-06-01 00:51:50 -04:00
parent 50f71e7280
commit 4ae02c27a4

View File

@ -14,7 +14,7 @@ namespace Bit.App.Migration
public static bool NeedsMigration()
{
return ServiceContainer.Resolve<SettingsShim>("settingsShim")
.GetValueOrDefault(Constants.OldUserIdKey, DateTime.MinValue) > DateTime.MinValue;
.GetValueOrDefault(Constants.OldUserIdKey, null) != null;
}
public static async Task<bool> PerformMigrationAsync()