1
0
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:
Kyle Spearrin
2019-05-31 17:49:51 -04:00
parent b191542ab7
commit 6aef106482
6 changed files with 113 additions and 9 deletions

View File

@@ -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)
{