Mobile: Color of Date-Time text changed to match theme (#6279)

pull/6283/head
Ayush Srivastava 2022-03-15 15:30:17 +05:30 committed by GitHub
parent eb86e9c896
commit fb8886db4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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