diff options
author | Mary <148872143+mary-ext@users.noreply.github.com> | 2024-09-24 23:21:06 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-25 01:21:06 +0900 |
commit | ed512d6dc5390555232bb4ac3f96f477751c33b1 (patch) | |
tree | 4ef4f2eaf1ea6d0d2da9ccb67a857deb40ecd76f /src/state/modals/index.tsx | |
parent | 8ea89469ef1a7988a7b3d05716da55e9da680c35 (diff) | |
download | voidsky-ed512d6dc5390555232bb4ac3f96f477751c33b1.tar.zst |
Revamp edit image alt text dialog (#5461)
* revamp alt dialog * readd the limit check don't trim with enforceLen, it ruins copy-pasting long text and it's overall annoying behavior * Update src/view/com/composer/photos/ImageAltTextDialog.tsx Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com> --------- Co-authored-by: surfdude29 <149612116+surfdude29@users.noreply.github.com>
Diffstat (limited to 'src/state/modals/index.tsx')
-rw-r--r-- | src/state/modals/index.tsx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/state/modals/index.tsx b/src/state/modals/index.tsx index 467853a25..9bc96cf5e 100644 --- a/src/state/modals/index.tsx +++ b/src/state/modals/index.tsx @@ -3,7 +3,6 @@ import {Image as RNImage} from 'react-native-image-crop-picker' import {AppBskyActorDefs, AppBskyGraphDefs} from '@atproto/api' import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback' -import {ComposerImage} from '../gallery' export interface EditProfileModal { name: 'edit-profile' @@ -43,12 +42,6 @@ export interface CropImageModal { onSelect: (img?: RNImage) => void } -export interface AltTextImageModal { - name: 'alt-text-image' - image: ComposerImage - onChange: (next: ComposerImage) => void -} - export interface DeleteAccountModal { name: 'delete-account' } @@ -131,7 +124,6 @@ export type Modal = | ListAddRemoveUsersModal // Posts - | AltTextImageModal | CropImageModal | SelfLabelModal |