Autofocus the alt text input on all platforms, improve dismissability on native (#2690)
* sneak in a eslint fix * autofocus the alt text input whenever we open the modal * properly use the hook
This commit is contained in:
parent
c5edd0a065
commit
e45f0b6c43
2 changed files with 25 additions and 2 deletions
|
@ -6,7 +6,7 @@ import {Image as RNImage} from 'react-native-image-crop-picker'
|
|||
import {ImageModel} from '#/state/models/media/image'
|
||||
import {GalleryModel} from '#/state/models/media/gallery'
|
||||
import {useNonReactiveCallback} from '#/lib/hooks/useNonReactiveCallback'
|
||||
import {EmbedPlayerSource} from '#/lib/strings/embed-player.ts'
|
||||
import {EmbedPlayerSource} from '#/lib/strings/embed-player'
|
||||
import {ThreadgateSetting} from '../queries/threadgate'
|
||||
|
||||
export interface ConfirmModal {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue