mirror of
https://github.com/KoalaSat/nostros.git
synced 2024-09-29 06:30:47 +00:00
Make some of the TextInputs multiline capable
This commit is contained in:
parent
6dc7e815b9
commit
170e1ec6b8
@ -222,6 +222,7 @@ export const ConversationPage: React.FC<ConversationPageProps> = ({ route }) =>
|
||||
>
|
||||
<TextInput
|
||||
mode='outlined'
|
||||
multiline
|
||||
label={t('conversationPage.typeMessage') ?? ''}
|
||||
value={input}
|
||||
onChangeText={setInput}
|
||||
|
@ -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}
|
||||
|
@ -67,6 +67,7 @@ export const ProfileConnectPage: React.FC = () => {
|
||||
<View style={styles.loginMain}>
|
||||
<TextInput
|
||||
mode='outlined'
|
||||
multiline
|
||||
label={label}
|
||||
onChangeText={setInputValue}
|
||||
value={inputValue}
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user