save some lines

This commit is contained in:
Kyle Spearrin 2019-07-01 21:16:28 -04:00
parent e0fda1a0bc
commit 4a294d6a77

View file

@ -87,10 +87,7 @@ namespace Bit.App.Pages
var tasks = Task.Run(async () =>
{
await Task.Delay(50);
Device.BeginInvokeOnMainThread(async () =>
{
await _vm.SubmitAsync();
});
Device.BeginInvokeOnMainThread(async () => await _vm.SubmitAsync());
});
}
}