mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 15:15:34 +03:00
remove unsubs
This commit is contained in:
parent
1a9d0576c8
commit
1fafc29ec3
1 changed files with 0 additions and 10 deletions
|
@ -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…
Reference in a new issue