1
0
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:
Kyle Spearrin
2017-11-17 10:03:41 -05:00
parent 44ef82219b
commit b52134e9ee

View File

@@ -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>(