mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
cancel on lock page back button
This commit is contained in:
parent
44ef82219b
commit
b52134e9ee
1 changed files with 9 additions and 1 deletions
|
@ -117,7 +117,15 @@ namespace Bit.Android
|
|||
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application>(Xamarin.Forms.Application.Current, "BackgroundApp", (sender) =>
|
||||
{
|
||||
MoveTaskToBack(true);
|
||||
if(Intent.GetBooleanExtra("autofillFramework", false))
|
||||
{
|
||||
SetResult(Result.Canceled);
|
||||
Finish();
|
||||
}
|
||||
else
|
||||
{
|
||||
MoveTaskToBack(true);
|
||||
}
|
||||
});
|
||||
|
||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(
|
||||
|
|
Loading…
Reference in a new issue