chore: make account menu close animation smoother when in sign-in or create account pane

This commit is contained in:
Aman Harwara
2023-08-14 11:49:52 +05:30
parent 86bc242ba2
commit ea8f9dba03

View File

@@ -96,11 +96,13 @@ export class AccountMenuController extends AbstractViewController implements Int
setShow = (show: boolean): void => {
this.show = show
if (show) {
this.setCurrentPane(AccountMenuPane.GeneralMenu)
}
}
closeAccountMenu = (): void => {
this.setShow(false)
this.setCurrentPane(AccountMenuPane.GeneralMenu)
}
setSigningOut = (signingOut: boolean): void => {