mirror of https://github.com/laurent22/joplin.git
Mobile: Color of Date-Time text changed to match theme (#6279)
parent
eb86e9c896
commit
fb8886db4b
|
@ -103,7 +103,7 @@ export default class SelectDateTimeDialog extends React.PureComponent<any, any>
|
||||||
return (
|
return (
|
||||||
<View style={{ flex: 0, margin: 20, alignItems: 'center' }}>
|
<View style={{ flex: 0, margin: 20, alignItems: 'center' }}>
|
||||||
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
|
<View style={{ flexDirection: 'row', alignItems: 'center' }}>
|
||||||
{ this.state.date && <Text style={{ ...theme.normalText, marginRight: 10 }}>{time.formatDateToLocal(this.state.date)}</Text> }
|
{ this.state.date && <Text style={{ ...theme.normalText,color: theme.color, marginRight: 10 }}>{time.formatDateToLocal(this.state.date)}</Text> }
|
||||||
<Button title="Set date" onPress={this.onSetDate} />
|
<Button title="Set date" onPress={this.onSetDate} />
|
||||||
</View>
|
</View>
|
||||||
<DateTimePickerModal
|
<DateTimePickerModal
|
||||||
|
|
Loading…
Reference in New Issue