remove unsubs
This commit is contained in:
parent
1a9d0576c8
commit
1fafc29ec3
@ -121,8 +121,6 @@ namespace Bit.Android
|
|||||||
{
|
{
|
||||||
if(Intent.GetBooleanExtra("autofillFramework", false))
|
if(Intent.GetBooleanExtra("autofillFramework", false))
|
||||||
{
|
{
|
||||||
MessagingCenter.Unsubscribe<Xamarin.Forms.Application>(Xamarin.Forms.Application.Current,
|
|
||||||
"BackgroundApp");
|
|
||||||
SetResult(Result.Canceled);
|
SetResult(Result.Canceled);
|
||||||
Finish();
|
Finish();
|
||||||
}
|
}
|
||||||
@ -135,14 +133,6 @@ namespace Bit.Android
|
|||||||
|
|
||||||
private void ReturnCredentials(VaultListPageModel.Cipher cipher)
|
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(Intent.GetBooleanExtra("autofillFramework", false))
|
||||||
{
|
{
|
||||||
if(cipher == null)
|
if(cipher == null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user