mirror of
https://github.com/bitwarden/mobile
synced 2025-12-16 00:03:22 +00:00
PM-3349 Added base structure for avoiding Android Autofill crash. This workaround works but it's not complete as it can't handle the entire workflow when showing CipherSelectionPAge (like checking if it should show LockPage)
This commit is contained in:
@@ -430,19 +430,19 @@ namespace Bit.App.Utilities
|
||||
{
|
||||
if (appOptions.FromAutofillFramework && appOptions.SaveType.HasValue)
|
||||
{
|
||||
Application.Current.MainPage = new NavigationPage(new CipherAddEditPage(appOptions: appOptions));
|
||||
App.MainPage = new NavigationPage(new CipherAddEditPage(appOptions: appOptions));
|
||||
return true;
|
||||
}
|
||||
if (appOptions.Uri != null
|
||||
||
|
||||
appOptions.OtpData != null)
|
||||
{
|
||||
Application.Current.MainPage = new NavigationPage(new CipherSelectionPage(appOptions));
|
||||
App.MainPage = new NavigationPage(new CipherSelectionPage(appOptions));
|
||||
return true;
|
||||
}
|
||||
if (appOptions.CreateSend != null)
|
||||
{
|
||||
Application.Current.MainPage = new NavigationPage(new SendAddEditPage(appOptions));
|
||||
App.MainPage = new NavigationPage(new SendAddEditPage(appOptions));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user