From 2e5f73ff6149f9ac2834b0417c84b76763ef5ee2 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 28 Sep 2023 12:41:44 -0700 Subject: Account quick switch modal (#1567) * quick switch menu * Some small tweaks and fixes to the account switch modal * Factor out the account switcher logic to a hook * Add haptic feedback on account switcher open * Fix bad merge --------- Co-authored-by: Samuel Newman --- src/state/models/ui/shell.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/state/models/ui') diff --git a/src/state/models/ui/shell.ts b/src/state/models/ui/shell.ts index 15d92f927..bd285c8cd 100644 --- a/src/state/models/ui/shell.ts +++ b/src/state/models/ui/shell.ts @@ -150,6 +150,10 @@ export interface ChangeEmailModal { name: 'change-email' } +export interface SwitchAccountModal { + name: 'switch-account' +} + export type Modal = // Account | AddAppPasswordModal @@ -160,6 +164,7 @@ export type Modal = | BirthDateSettingsModal | VerifyEmailModal | ChangeEmailModal + | SwitchAccountModal // Curation | ContentFilteringSettingsModal -- cgit 1.4.1