Mobile: Fixed config text input not visible in dark mode (#2910)

pull/2992/head
Ishant Gupta 2020-04-06 01:17:30 +05:30 committed by GitHub
parent e024015d5e
commit 7251813634
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -217,6 +217,9 @@ class ConfigScreenComponent extends BaseScreenComponent {
color: theme.color,
flex: 1,
},
textInput: {
color: theme.color,
},
};
styles.settingContainerNoBottomBorder = Object.assign({}, styles.settingContainer, {
@ -451,7 +454,7 @@ class ConfigScreenComponent extends BaseScreenComponent {
const profileExportPrompt = (
<View style={this.styles().settingContainer}>
<Text style={this.styles().settingText}>Path:</Text>
<TextInput style={{ paddingRight: 20 }} onChange={(event) => this.setState({ profileExportPath: event.nativeEvent.text })} value={this.state.profileExportPath} placeholder="/path/to/sdcard"></TextInput>
<TextInput style={{ ...this.styles().textInput, paddingRight: 20 }} onChange={(event) => this.setState({ profileExportPath: event.nativeEvent.text })} value={this.state.profileExportPath} placeholder="/path/to/sdcard"></TextInput>
<Button title="OK" onPress={this.exportProfileButtonPress2_}></Button>
</View>
);