mirror of
https://github.com/bitwarden/mobile.git
synced 2024-07-06 12:16:15 +02:00
sync on migrate if online
This commit is contained in:
parent
42d6a7c9b8
commit
506ab12b95
|
@ -185,8 +185,10 @@ namespace Bit.App.Migration
|
||||||
settingsShim.Remove(Constants.OldUserIdKey);
|
settingsShim.Remove(Constants.OldUserIdKey);
|
||||||
Migrating = false;
|
Migrating = false;
|
||||||
messagingService.Send("migrated");
|
messagingService.Send("migrated");
|
||||||
|
if(Xamarin.Essentials.Connectivity.NetworkAccess != Xamarin.Essentials.NetworkAccess.None)
|
||||||
|
{
|
||||||
var task = Task.Run(() => syncService.FullSyncAsync(true));
|
var task = Task.Run(() => syncService.FullSyncAsync(true));
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user