diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-06-24 23:15:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 23:15:11 +0100 |
commit | 29aaf09a8b8b199b249cef9123673022fde11c4f (patch) | |
tree | f644ce29826d823b5818825848518364b10c47a5 /src/view/com/modals/Modal.web.tsx | |
parent | e0ac7d5bdcb096d6c23658c34da04bfa19579e4f (diff) | |
download | voidsky-29aaf09a8b8b199b249cef9123673022fde11c4f.tar.zst |
Composer - replace threadgate modal with alf dialog (#4329)
* replace threadgate modal with alf dialog * add accessibility to selectable * add aria * hide spinner once fetched * add `hasOpenDialogs` value to context * remove state * Rm loading state * Update the threadgate dialog button theming * Factor out the threadgate editor and add editing to post views * Mark messages for localization * Use colors from mute dialog * Remove unnecessary effect * Reset state on dialog dismiss * Clearer CTA * Fix bugs * Scope keyboard fix * Rm getAreDialogsActive (no longer needed) --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com> Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Diffstat (limited to 'src/view/com/modals/Modal.web.tsx')
-rw-r--r-- | src/view/com/modals/Modal.web.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/view/com/modals/Modal.web.tsx b/src/view/com/modals/Modal.web.tsx index 14ee99e57..c4bab6fb1 100644 --- a/src/view/com/modals/Modal.web.tsx +++ b/src/view/com/modals/Modal.web.tsx @@ -23,7 +23,6 @@ import * as PostLanguagesSettingsModal from './lang-settings/PostLanguagesSettin import * as LinkWarningModal from './LinkWarning' import * as ListAddUserModal from './ListAddRemoveUsers' import * as SelfLabelModal from './SelfLabel' -import * as ThreadgateModal from './Threadgate' import * as UserAddRemoveLists from './UserAddRemoveLists' import * as VerifyEmailModal from './VerifyEmail' @@ -84,8 +83,6 @@ function Modal({modal}: {modal: ModalIface}) { element = <DeleteAccountModal.Component /> } else if (modal.name === 'self-label') { element = <SelfLabelModal.Component {...modal} /> - } else if (modal.name === 'threadgate') { - element = <ThreadgateModal.Component {...modal} /> } else if (modal.name === 'change-handle') { element = <ChangeHandleModal.Component {...modal} /> } else if (modal.name === 'invite-codes') { |