diff options
author | Ollie H <renahlee@outlook.com> | 2023-05-01 11:59:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 13:59:17 -0500 |
commit | dbb3c5c15524c517291356a4918d043348906aad (patch) | |
tree | 8b7a38c2d5c56c34b43dcbddccf640e8c9a52ad3 /src/view/com/modals/Modal.web.tsx | |
parent | 0ec98c77ef65ff74e83b314d8eed9ef9b07d47d3 (diff) | |
download | voidsky-dbb3c5c15524c517291356a4918d043348906aad.tar.zst |
Image alt text view modal (#551)
* Image alt text view modal * Minor style tweaks --------- 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, 3 insertions, 0 deletions
diff --git a/src/view/com/modals/Modal.web.tsx b/src/view/com/modals/Modal.web.tsx index 07d5168ed..de748b3a8 100644 --- a/src/view/com/modals/Modal.web.tsx +++ b/src/view/com/modals/Modal.web.tsx @@ -15,6 +15,7 @@ import * as DeleteAccountModal from './DeleteAccount' import * as RepostModal from './Repost' import * as CropImageModal from './crop-image/CropImage.web' import * as AltTextImageModal from './AltImage' +import * as AltTextImageReadModal from './AltImageRead' import * as ChangeHandleModal from './ChangeHandle' import * as WaitlistModal from './Waitlist' import * as InviteCodesModal from './InviteCodes' @@ -84,6 +85,8 @@ function Modal({modal}: {modal: ModalIface}) { element = <ContentFilteringSettingsModal.Component /> } else if (modal.name === 'alt-text-image') { element = <AltTextImageModal.Component {...modal} /> + } else if (modal.name === 'alt-text-image-read') { + element = <AltTextImageReadModal.Component {...modal} /> } else { return null } |