1
0
mirror of https://github.com/tooot-app/app synced 2025-04-25 07:28:41 +02:00
This commit is contained in:
xmflsct 2022-12-04 13:48:50 +01:00
parent 196fb05dea
commit 413bb4b76f
3 changed files with 2 additions and 6 deletions

View File

@ -73,8 +73,6 @@ const ComposeEditAttachmentRoot: React.FC<Props> = ({ index }) => {
color: colors.primaryDefault color: colors.primaryDefault
}} }}
onFocus={() => scrollViewRef.current?.scrollToEnd()} onFocus={() => scrollViewRef.current?.scrollToEnd()}
autoCapitalize='none'
autoCorrect={false}
maxLength={1500} maxLength={1500}
multiline multiline
onChangeText={(e) => onChangeText={(e) =>

View File

@ -35,8 +35,6 @@ const ComposeSpoilerInput: React.FC = () => {
fontSize: adaptedFontsize, fontSize: adaptedFontsize,
lineHeight: adaptedLineheight lineHeight: adaptedLineheight
}} }}
autoCapitalize='none'
autoCorrect={false}
autoFocus autoFocus
enablesReturnKeyAutomatically enablesReturnKeyAutomatically
multiline multiline

View File

@ -71,12 +71,12 @@ const TabSharedSearch: React.FC<TabSharedStackScreenProps<'Tab-Shared-Search'>>
})} })}
autoCapitalize='none' autoCapitalize='none'
autoCorrect={false} autoCorrect={false}
clearButtonMode='never' clearButtonMode='always'
keyboardType='web-search' keyboardType='web-search'
onSubmitEditing={({ nativeEvent: { text } }) => navigation.setParams({ text })} onSubmitEditing={({ nativeEvent: { text } }) => navigation.setParams({ text })}
placeholder={t('shared.search.header.placeholder')} placeholder={t('shared.search.header.placeholder')}
placeholderTextColor={colors.secondary} placeholderTextColor={colors.secondary}
returnKeyType='go' returnKeyType='search'
/> />
</View> </View>
) )