mirror of
https://github.com/bitwarden/mobile
synced 2025-02-01 19:17:13 +01:00
just check if !HasCiphers
This commit is contained in:
parent
c50dee479a
commit
e30136dace
@ -116,7 +116,7 @@ namespace Bit.App.Pages
|
|||||||
}
|
}
|
||||||
// Forced sync if for some reason we have no data after a v1 migration
|
// Forced sync if for some reason we have no data after a v1 migration
|
||||||
if(_vm.MainPage && !_syncService.SyncInProgress && migratedFromV1.GetValueOrDefault() &&
|
if(_vm.MainPage && !_syncService.SyncInProgress && migratedFromV1.GetValueOrDefault() &&
|
||||||
!_vm.HasCiphers && !_vm.HasFolders &&
|
!_vm.HasCiphers &&
|
||||||
Xamarin.Essentials.Connectivity.NetworkAccess != Xamarin.Essentials.NetworkAccess.None)
|
Xamarin.Essentials.Connectivity.NetworkAccess != Xamarin.Essentials.NetworkAccess.None)
|
||||||
{
|
{
|
||||||
var triedV1ReSync = await _storageService.GetAsync<bool?>(Constants.TriedV1Resync);
|
var triedV1ReSync = await _storageService.GetAsync<bool?>(Constants.TriedV1Resync);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user