updated text color

This commit is contained in:
u-e 2019-02-12 17:54:16 +03:00
parent 2bd84a0dc9
commit 58b8ec5716
2 changed files with 4 additions and 2 deletions

View File

@ -18,6 +18,7 @@ export default EStyleSheet.create({
textInput: {
fontFamily: '$editorFont',
fontSize: 10,
color: "$primaryLightGray"
},
isPin: {
backgroundColor: '$primaryBlue',

View File

@ -63,13 +63,14 @@ export default class TagAreaView extends Component {
if (_currentText && chips && chips.length < chipsCount) {
this.setState({
chips: [...chips, _currentText],
currentText: '',
});
}
if (handleTagChanged && chips.length < chipsCount + 1) {
handleTagChanged([...chips, _currentText]);
}
this.setState({currentText: ''});
};
_handleTagRemove = (i) => {
@ -86,7 +87,7 @@ export default class TagAreaView extends Component {
// Restart chips
if (chips && chips.length === 1 && i === 0) {
this.setState({ chips: [' '] });
this.setState({ chips: [' '], currentText: '' });
}
};