iOS 26 (#9047)
Co-authored-by: Eric Bailey <git@esb.lol> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {useState} from 'react'
|
||||
import {TouchableOpacity, View} from 'react-native'
|
||||
import {TouchableOpacity, useWindowDimensions, View} from 'react-native'
|
||||
import {msg} from '@lingui/core/macro'
|
||||
import {useLingui} from '@lingui/react'
|
||||
import {Plural, Trans} from '@lingui/react/macro'
|
||||
@@ -69,6 +69,7 @@ export function GifAltTextDialogLoaded({
|
||||
const {_} = useLingui()
|
||||
const t = useTheme()
|
||||
const [altTextDraft, setAltTextDraft] = useState(altText || vendorAltText)
|
||||
const {height: minHeight} = useWindowDimensions()
|
||||
return (
|
||||
<>
|
||||
<TouchableOpacity
|
||||
@@ -108,7 +109,8 @@ export function GifAltTextDialogLoaded({
|
||||
control={control}
|
||||
onClose={() => {
|
||||
onSubmit(altTextDraft)
|
||||
}}>
|
||||
}}
|
||||
nativeOptions={{minHeight}}>
|
||||
<Dialog.Handle />
|
||||
<AltTextInner
|
||||
vendorAltText={vendorAltText}
|
||||
|
||||
Reference in New Issue
Block a user