mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
log if needs migration
This commit is contained in:
parent
b69304992f
commit
57c89f5b2a
1 changed files with 3 additions and 1 deletions
|
@ -14,8 +14,10 @@ namespace Bit.App.Migration
|
|||
|
||||
public static bool NeedsMigration()
|
||||
{
|
||||
return ServiceContainer.Resolve<SettingsShim>("settingsShim")
|
||||
var needsMigration = ServiceContainer.Resolve<SettingsShim>("settingsShim")
|
||||
.GetValueOrDefault(Constants.OldUserIdKey, null) != null;
|
||||
ServiceContainer.Resolve<ILogService>("logService").Info("Needs Migration: " + needsMigration);
|
||||
return needsMigration;
|
||||
}
|
||||
|
||||
public static async Task<bool> PerformMigrationAsync()
|
||||
|
|
Loading…
Reference in a new issue