diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-04-04 03:18:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-03 19:18:14 -0700 |
commit | 712768dd8f9172ff79700765f9f09db07ca00028 (patch) | |
tree | 5836e7512b516ab14536dd025b09bc099becb8ef /src/view/com/modals/Modal.tsx | |
parent | 8cdd8394df52827a5880074e5cf11d5b62521249 (diff) | |
download | voidsky-712768dd8f9172ff79700765f9f09db07ca00028.tar.zst |
Use ALF for the account quick switch dialog (#3327)
* Use ALF for account quick switch * clean up modal type * add haptics to dialog opening * move account list to it's own component and share * make tick slightly darker
Diffstat (limited to 'src/view/com/modals/Modal.tsx')
-rw-r--r-- | src/view/com/modals/Modal.tsx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/view/com/modals/Modal.tsx b/src/view/com/modals/Modal.tsx index af86f13a3..85ffccf12 100644 --- a/src/view/com/modals/Modal.tsx +++ b/src/view/com/modals/Modal.tsx @@ -24,7 +24,6 @@ import * as LinkWarningModal from './LinkWarning' import * as ListAddUserModal from './ListAddRemoveUsers' import * as RepostModal from './Repost' import * as SelfLabelModal from './SelfLabel' -import * as SwitchAccountModal from './SwitchAccount' import * as ThreadgateModal from './Threadgate' import * as UserAddRemoveListsModal from './UserAddRemoveLists' import * as VerifyEmailModal from './VerifyEmail' @@ -114,9 +113,6 @@ export function ModalsContainer() { } else if (activeModal?.name === 'change-password') { snapPoints = ChangePasswordModal.snapPoints element = <ChangePasswordModal.Component /> - } else if (activeModal?.name === 'switch-account') { - snapPoints = SwitchAccountModal.snapPoints - element = <SwitchAccountModal.Component /> } else if (activeModal?.name === 'link-warning') { snapPoints = LinkWarningModal.snapPoints element = <LinkWarningModal.Component {...activeModal} /> |