mirror of
https://github.com/bitwarden/mobile
synced 2025-12-11 05:43:30 +00:00
cancel on lock page back button
This commit is contained in:
@@ -117,7 +117,15 @@ 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) =>
|
||||||
{
|
{
|
||||||
MoveTaskToBack(true);
|
if(Intent.GetBooleanExtra("autofillFramework", false))
|
||||||
|
{
|
||||||
|
SetResult(Result.Canceled);
|
||||||
|
Finish();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MoveTaskToBack(true);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(
|
MessagingCenter.Subscribe<Xamarin.Forms.Application, string>(
|
||||||
|
|||||||
Reference in New Issue
Block a user