mirror of
https://github.com/bitwarden/mobile
synced 2025-12-20 02:03:49 +00:00
log if needs migration
This commit is contained in:
@@ -14,8 +14,10 @@ namespace Bit.App.Migration
|
|||||||
|
|
||||||
public static bool NeedsMigration()
|
public static bool NeedsMigration()
|
||||||
{
|
{
|
||||||
return ServiceContainer.Resolve<SettingsShim>("settingsShim")
|
var needsMigration = ServiceContainer.Resolve<SettingsShim>("settingsShim")
|
||||||
.GetValueOrDefault(Constants.OldUserIdKey, null) != null;
|
.GetValueOrDefault(Constants.OldUserIdKey, null) != null;
|
||||||
|
ServiceContainer.Resolve<ILogService>("logService").Info("Needs Migration: " + needsMigration);
|
||||||
|
return needsMigration;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async Task<bool> PerformMigrationAsync()
|
public static async Task<bool> PerformMigrationAsync()
|
||||||
|
|||||||
Reference in New Issue
Block a user