From 4b24fe1bf4ae230dc179c76fc56a4bb06bc6b238 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 17 Nov 2017 23:46:45 -0500 Subject: [PATCH] dont reset main page for autofill framework --- src/App/App.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/App/App.cs b/src/App/App.cs index 7a3e2e053..5f6f2f37f 100644 --- a/src/App/App.cs +++ b/src/App/App.cs @@ -72,7 +72,7 @@ namespace Bit.App { MainPage = new ExtendedNavigationPage(new VaultAddCipherPage(_options)); } - else if (_options.Uri != null) + else if(_options.Uri != null) { MainPage = new ExtendedNavigationPage(new VaultAutofillListCiphersPage(_options.Uri)); } @@ -175,7 +175,8 @@ namespace Bit.App 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(() => {