mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 05:13:04 +03:00
updated text color
This commit is contained in:
parent
2bd84a0dc9
commit
58b8ec5716
@ -18,6 +18,7 @@ export default EStyleSheet.create({
|
|||||||
textInput: {
|
textInput: {
|
||||||
fontFamily: '$editorFont',
|
fontFamily: '$editorFont',
|
||||||
fontSize: 10,
|
fontSize: 10,
|
||||||
|
color: "$primaryLightGray"
|
||||||
},
|
},
|
||||||
isPin: {
|
isPin: {
|
||||||
backgroundColor: '$primaryBlue',
|
backgroundColor: '$primaryBlue',
|
||||||
|
@ -63,13 +63,14 @@ export default class TagAreaView extends Component {
|
|||||||
if (_currentText && chips && chips.length < chipsCount) {
|
if (_currentText && chips && chips.length < chipsCount) {
|
||||||
this.setState({
|
this.setState({
|
||||||
chips: [...chips, _currentText],
|
chips: [...chips, _currentText],
|
||||||
currentText: '',
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (handleTagChanged && chips.length < chipsCount + 1) {
|
if (handleTagChanged && chips.length < chipsCount + 1) {
|
||||||
handleTagChanged([...chips, _currentText]);
|
handleTagChanged([...chips, _currentText]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.setState({currentText: ''});
|
||||||
};
|
};
|
||||||
|
|
||||||
_handleTagRemove = (i) => {
|
_handleTagRemove = (i) => {
|
||||||
@ -86,7 +87,7 @@ export default class TagAreaView extends Component {
|
|||||||
|
|
||||||
// Restart chips
|
// Restart chips
|
||||||
if (chips && chips.length === 1 && i === 0) {
|
if (chips && chips.length === 1 && i === 0) {
|
||||||
this.setState({ chips: [' '] });
|
this.setState({ chips: [' '], currentText: '' });
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user