1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-27 12:26:31 +01:00

dont reset main page for autofill framework

This commit is contained in:
Kyle Spearrin 2017-11-17 23:46:45 -05:00
parent 73e5fb6314
commit 4b24fe1bf4

View File

@ -72,7 +72,7 @@ namespace Bit.App
{ {
MainPage = new ExtendedNavigationPage(new VaultAddCipherPage(_options)); MainPage = new ExtendedNavigationPage(new VaultAddCipherPage(_options));
} }
else if (_options.Uri != null) else if(_options.Uri != null)
{ {
MainPage = new ExtendedNavigationPage(new VaultAutofillListCiphersPage(_options.Uri)); MainPage = new ExtendedNavigationPage(new VaultAutofillListCiphersPage(_options.Uri));
} }
@ -175,7 +175,8 @@ namespace Bit.App
private void SetMainPageFromAutofill() private void SetMainPageFromAutofill()
{ {
if(Device.RuntimePlatform == Device.Android && !string.IsNullOrWhiteSpace(_options.Uri)) if(Device.RuntimePlatform == Device.Android && !string.IsNullOrWhiteSpace(_options.Uri) &&
!_options.FromAutofillFramework)
{ {
Task.Run(() => Task.Run(() =>
{ {