diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-09-28 12:41:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 12:41:44 -0700 |
commit | 2e5f73ff6149f9ac2834b0417c84b76763ef5ee2 (patch) | |
tree | 2a30023dc0f6c81c33704235655f65e0f204629f /src/state/models/ui/shell.ts | |
parent | 3e340b336ef92feb25da042430b6b3719c772b77 (diff) | |
download | voidsky-2e5f73ff6149f9ac2834b0417c84b76763ef5ee2.tar.zst |
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 <mozzius@protonmail.com>
Diffstat (limited to 'src/state/models/ui/shell.ts')
-rw-r--r-- | src/state/models/ui/shell.ts | 5 |
1 files changed, 5 insertions, 0 deletions
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 |