mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-23 11:45:38 +01:00
Set lock page on resume for android
This commit is contained in:
parent
4e51517ddb
commit
cc036cf3c5
@ -209,6 +209,13 @@ namespace Bit.App
|
||||
SyncIfNeeded();
|
||||
if(Current.MainPage is NavigationPage navPage && navPage.CurrentPage is LockPage lockPage)
|
||||
{
|
||||
if(Device.RuntimePlatform == Device.Android)
|
||||
{
|
||||
// Workaround for https://github.com/xamarin/Xamarin.Forms/issues/7478
|
||||
await Task.Delay(100);
|
||||
Current.MainPage = new NavigationPage(lockPage);
|
||||
// End workaround
|
||||
}
|
||||
await lockPage.PromptFingerprintAfterResumeAsync();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user