From 9298d57f228d515d534e11250532eb48198b0085 Mon Sep 17 00:00:00 2001 From: Matt Portune <59324545+mportune-bw@users.noreply.github.com> Date: Tue, 6 Jul 2021 11:10:17 -0400 Subject: [PATCH] fix for resuming autofill when back button was previously used to exit (#1451) --- src/App/Pages/Vault/AutofillCiphersPage.xaml.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/App/Pages/Vault/AutofillCiphersPage.xaml.cs b/src/App/Pages/Vault/AutofillCiphersPage.xaml.cs index 08350d032..c8f9c9634 100644 --- a/src/App/Pages/Vault/AutofillCiphersPage.xaml.cs +++ b/src/App/Pages/Vault/AutofillCiphersPage.xaml.cs @@ -46,6 +46,15 @@ namespace Bit.App.Pages }, _mainContent); } + protected override bool OnBackButtonPressed() + { + if (Device.RuntimePlatform == Device.Android) + { + _appOptions.Uri = null; + } + return base.OnBackButtonPressed(); + } + private async void RowSelected(object sender, SelectionChangedEventArgs e) { ((ExtendedCollectionView)sender).SelectedItem = null;