1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-10 05:13:31 +00:00

run subscribed messages on main thread

This commit is contained in:
Kyle Spearrin
2019-05-30 11:40:33 -04:00
parent 70fa41ca3e
commit c3b9f4e5a8
6 changed files with 41 additions and 25 deletions

View File

@@ -63,7 +63,10 @@ namespace Bit.App.Pages
if(message.Command == "syncCompleted")
{
await Task.Delay(500);
await _vm.LoadAsync();
Device.BeginInvokeOnMainThread(() =>
{
var task = _vm.LoadAsync();
});
}
});