1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-27 17:08:00 +01:00

remove unsubs

This commit is contained in:
Kyle Spearrin 2017-11-21 14:31:46 -05:00
parent 1a9d0576c8
commit 1fafc29ec3

View File

@ -121,8 +121,6 @@ namespace Bit.Android
{
if(Intent.GetBooleanExtra("autofillFramework", false))
{
MessagingCenter.Unsubscribe<Xamarin.Forms.Application>(Xamarin.Forms.Application.Current,
"BackgroundApp");
SetResult(Result.Canceled);
Finish();
}
@ -135,14 +133,6 @@ namespace Bit.Android
private void ReturnCredentials(VaultListPageModel.Cipher cipher)
{
if(_appOptions?.Uri != null)
{
MessagingCenter.Unsubscribe<Xamarin.Forms.Application, VaultListPageModel.Cipher>(
Xamarin.Forms.Application.Current, "Autofill");
MessagingCenter.Unsubscribe<Xamarin.Forms.Application>(Xamarin.Forms.Application.Current,
"BackgroundApp");
}
if(Intent.GetBooleanExtra("autofillFramework", false))
{
if(cipher == null)