1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fix keyboard appearance

Should match what the app is instead of system
This commit is contained in:
Zhiyuan Zheng
2021-03-08 23:48:09 +01:00
parent 960634ec0b
commit e5effd6b65
6 changed files with 12 additions and 6 deletions

View File

@ -35,7 +35,7 @@ const ComponentInstance: React.FC<Props> = ({
goBack = false
}) => {
const { t } = useTranslation('componentInstance')
const { theme } = useTheme()
const { mode, theme } = useTheme()
const instances = useSelector(getInstances, () => true)
const [domain, setDomain] = useState<string>()
@ -158,6 +158,7 @@ const ComponentInstance: React.FC<Props> = ({
placeholder={t('server.textInput.placeholder')}
placeholderTextColor={theme.secondary}
returnKeyType='go'
keyboardAppearance={mode}
/>
<Button
type='text'