1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00

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

This commit is contained in:
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

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>
);