remove password generate event on disappear

This commit is contained in:
kspearrin 2018-06-05 11:13:15 -04:00
parent 145dac500c
commit 99713f8ed7

View file

@ -292,7 +292,7 @@ namespace Bit.App.Pages
LoginPasswordCell.Dispose(); LoginPasswordCell.Dispose();
LoginUsernameCell.Dispose(); LoginUsernameCell.Dispose();
LoginPasswordCell.Button1.Clicked -= PasswordButton_Clicked; LoginPasswordCell.Button1.Clicked -= PasswordButton_Clicked;
LoginPasswordCell.Button2.Clicked += PasswordButton2_Clicked; LoginPasswordCell.Button2.Clicked -= PasswordButton2_Clicked;
if(LoginTotpCell?.Button1 != null) if(LoginTotpCell?.Button1 != null)
{ {
LoginTotpCell.Button1.Clicked -= TotpButton_Clicked; LoginTotpCell.Button1.Clicked -= TotpButton_Clicked;