1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-17 00:33:20 +00:00

Workaround for older bug in Xamarin.Forms by waiting for app to resume before attempting to set Application.Current.MainPage (#757)

This commit is contained in:
Matt Portune
2020-03-05 16:18:04 -05:00
committed by GitHub
parent b65b01fe3d
commit 6ffb3136d4
2 changed files with 26 additions and 0 deletions

View File

@@ -141,6 +141,7 @@ namespace Bit.App.Pages
page.DuoWebView.RegisterAction(sig =>
{
Token = sig;
App.WaitForResume();
Device.BeginInvokeOnMainThread(async () => await SubmitAsync());
});
break;