fix for resuming autofill when back button was previously used to exit (#1451)

This commit is contained in:
Matt Portune 2021-07-06 11:10:17 -04:00 committed by GitHub
parent 8cf5d5728e
commit 9298d57f22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,6 +46,15 @@ namespace Bit.App.Pages
}, _mainContent); }, _mainContent);
} }
protected override bool OnBackButtonPressed()
{
if (Device.RuntimePlatform == Device.Android)
{
_appOptions.Uri = null;
}
return base.OnBackButtonPressed();
}
private async void RowSelected(object sender, SelectionChangedEventArgs e) private async void RowSelected(object sender, SelectionChangedEventArgs e)
{ {
((ExtendedCollectionView)sender).SelectedItem = null; ((ExtendedCollectionView)sender).SelectedItem = null;