From 5cdf73cea671be27bf8efeebc454a9cc3f056ff7 Mon Sep 17 00:00:00 2001 From: emelko <ml.kochsiek@mailbox.org> Date: Thu, 30 Aug 2018 21:39:53 +0200 Subject: [PATCH] Gets rid of line break in note "Enter" instead of "En-ter" --- components/cycle-day/symptoms/pain.js | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/components/cycle-day/symptoms/pain.js b/components/cycle-day/symptoms/pain.js index 5a7c0bd7..63650653 100644 --- a/components/cycle-day/symptoms/pain.js +++ b/components/cycle-day/symptoms/pain.js @@ -112,19 +112,17 @@ export default class Pain extends Component { }} /> </View> - <View style={styles.symptomViewRowInline}> - { this.state.other && - <TextInput - autoFocus={this.state.focusTextArea} - multiline={true} - placeholder="Enter" - value={this.state.note} - onChangeText={(val) => { - this.setState({note: val}) - }} - /> - } - </View> + { this.state.other && + <TextInput + autoFocus={this.state.focusTextArea} + multiline={true} + placeholder="Enter" + value={this.state.note} + onChangeText={(val) => { + this.setState({note: val}) + }} + /> + } </View> </ScrollView> <ActionButtonFooter -- GitLab