mirror of
https://github.com/bitwarden/mobile
synced 2025-12-10 21:33:36 +00:00
cancel on lock page back button
This commit is contained in:
@@ -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>(
|
||||||
|
|||||||
Reference in New Issue
Block a user