mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 12:51:42 +03:00
updated text color
This commit is contained in:
parent
33b993cc45
commit
aca8c94765
@ -18,6 +18,7 @@ export default EStyleSheet.create({
|
||||
textInput: {
|
||||
fontFamily: '$editorFont',
|
||||
fontSize: 10,
|
||||
color: "$primaryLightGray"
|
||||
},
|
||||
isPin: {
|
||||
backgroundColor: '$primaryBlue',
|
||||
|
@ -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: '' });
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user