mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
old userid is string
This commit is contained in:
@@ -14,7 +14,7 @@ namespace Bit.App.Migration
|
|||||||
public static bool NeedsMigration()
|
public static bool NeedsMigration()
|
||||||
{
|
{
|
||||||
return ServiceContainer.Resolve<SettingsShim>("settingsShim")
|
return ServiceContainer.Resolve<SettingsShim>("settingsShim")
|
||||||
.GetValueOrDefault(Constants.OldUserIdKey, DateTime.MinValue) > DateTime.MinValue;
|
.GetValueOrDefault(Constants.OldUserIdKey, null) != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async Task<bool> PerformMigrationAsync()
|
public static async Task<bool> PerformMigrationAsync()
|
||||||
|
|||||||
Reference in New Issue
Block a user