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

@ -9,10 +9,11 @@ import ComposeContext from '../../utils/createContext'
const ComposeTextInput: React.FC = () => {
const { composeState, composeDispatch } = useContext(ComposeContext)
const { t } = useTranslation('sharedCompose')
const { theme } = useTheme()
const { mode, theme } = useTheme()
return (
<TextInput
keyboardAppearance={mode}
style={[
styles.textInput,
{