mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
undo busy when syncing complete
This commit is contained in:
parent
39284b475d
commit
50f809d290
1 changed files with 4 additions and 5 deletions
|
@ -78,15 +78,14 @@ namespace Bit.App.Pages
|
||||||
}
|
}
|
||||||
else if(message.Command == "syncCompleted")
|
else if(message.Command == "syncCompleted")
|
||||||
{
|
{
|
||||||
if(!_vm.LoadedOnce)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
await Task.Delay(500);
|
await Task.Delay(500);
|
||||||
Device.BeginInvokeOnMainThread(() =>
|
Device.BeginInvokeOnMainThread(() =>
|
||||||
{
|
{
|
||||||
IsBusy = false;
|
IsBusy = false;
|
||||||
var task = _vm.LoadAsync();
|
if(_vm.LoadedOnce)
|
||||||
|
{
|
||||||
|
var task = _vm.LoadAsync();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue