Make some of the TextInputs multiline capable

This commit is contained in:
w3irdrobot 2023-01-24 23:44:20 -05:00
parent 6dc7e815b9
commit 170e1ec6b8
No known key found for this signature in database
GPG Key ID: 3F202DDAA711CD61
4 changed files with 4 additions and 1 deletions

View File

@ -222,6 +222,7 @@ export const ConversationPage: React.FC<ConversationPageProps> = ({ route }) =>
>
<TextInput
mode='outlined'
multiline
label={t('conversationPage.typeMessage') ?? ''}
value={input}
onChangeText={setInput}

View File

@ -469,6 +469,7 @@ export const ProfileConfigPage: React.FC = () => {
<Text variant='bodyMedium'>{t('profileConfigPage.lud06Description')}</Text>
<TextInput
mode='outlined'
multiline
label={t('profileConfigPage.lud06Label') ?? ''}
onChangeText={setLnurl}
value={lnurl}

View File

@ -67,6 +67,7 @@ export const ProfileConnectPage: React.FC = () => {
<View style={styles.loginMain}>
<TextInput
mode='outlined'
multiline
label={label}
onChangeText={setInputValue}
value={inputValue}

View File

@ -152,7 +152,7 @@ export const SendPage: React.FC<SendPageProps> = ({ route }) => {
<TextInput
ref={(ref) => ref?.focus()}
mode='outlined'
multiline={true}
multiline
numberOfLines={route.params?.type ? 6 : 30}
outlineStyle={{ borderColor: 'transparent' }}
value={content}