mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 07:35:52 +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
|
@ -116,8 +116,16 @@ namespace Bit.Android
|
||||||
});
|
});
|
||||||
|
|
||||||
MessagingCenter.Subscribe<Xamarin.Forms.Application>(Xamarin.Forms.Application.Current, "BackgroundApp", (sender) =>
|
MessagingCenter.Subscribe<Xamarin.Forms.Application>(Xamarin.Forms.Application.Current, "BackgroundApp", (sender) =>
|
||||||
|
{
|
||||||
|
if(Intent.GetBooleanExtra("autofillFramework", false))
|
||||||
|
{
|
||||||
|
SetResult(Result.Canceled);
|
||||||
|
Finish();
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
MoveTaskToBack(true);
|
MoveTaskToBack(true);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(
|
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(
|
||||||
|
|
Loading…
Reference in a new issue