mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 09:13:15 +00:00
start some migration work for auth data
This commit is contained in:
@@ -13,8 +13,6 @@ namespace Bit.App.Utilities
|
||||
{
|
||||
public static class AppHelpers
|
||||
{
|
||||
public static bool NeedsMigration = false;
|
||||
|
||||
public static async Task<string> CipherListOptions(ContentPage page, CipherView cipher)
|
||||
{
|
||||
var platformUtilsService = ServiceContainer.Resolve<IPlatformUtilsService>("platformUtilsService");
|
||||
@@ -118,7 +116,7 @@ namespace Bit.App.Utilities
|
||||
{
|
||||
var currentBuild = deviceActionService.GetBuildNumber();
|
||||
var lastBuild = await storageService.GetAsync<string>(Constants.LastBuildKey);
|
||||
if(!NeedsMigration)
|
||||
if(!Migration.MigrationHelpers.NeedsMigration())
|
||||
{
|
||||
if(lastBuild == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user