undo busy when syncing complete

This commit is contained in:
Kyle Spearrin 2019-06-21 16:53:17 -04:00
parent 39284b475d
commit 50f809d290

View file

@ -78,15 +78,14 @@ namespace Bit.App.Pages
}
else if(message.Command == "syncCompleted")
{
if(!_vm.LoadedOnce)
{
return;
}
await Task.Delay(500);
Device.BeginInvokeOnMainThread(() =>
{
IsBusy = false;
var task = _vm.LoadAsync();
if(_vm.LoadedOnce)
{
var task = _vm.LoadAsync();
}
});
}
});