chore: make account menu close animation smoother when in sign-in or create account pane
This commit is contained in:
@@ -96,11 +96,13 @@ export class AccountMenuController extends AbstractViewController implements Int
|
|||||||
|
|
||||||
setShow = (show: boolean): void => {
|
setShow = (show: boolean): void => {
|
||||||
this.show = show
|
this.show = show
|
||||||
|
if (show) {
|
||||||
|
this.setCurrentPane(AccountMenuPane.GeneralMenu)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
closeAccountMenu = (): void => {
|
closeAccountMenu = (): void => {
|
||||||
this.setShow(false)
|
this.setShow(false)
|
||||||
this.setCurrentPane(AccountMenuPane.GeneralMenu)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setSigningOut = (signingOut: boolean): void => {
|
setSigningOut = (signingOut: boolean): void => {
|
||||||
|
|||||||
Reference in New Issue
Block a user