Gets rid of trailing spaces

This commit is contained in:
emelko
2019-05-19 13:09:21 +02:00
parent e9c18add5e
commit c81f7d6291
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ export default class Mood extends SymptomView {
} }
symptomName = 'mood' symptomName = 'mood'
showInfoBox(){ showInfoBox(){
const symptomName = 'mood' const symptomName = 'mood'
Alert.alert( Alert.alert(
+2 -2
View File
@@ -27,7 +27,7 @@ export default class Mucus extends SymptomView {
} }
symptomName = 'mucus' symptomName = 'mucus'
showInfoBox(){ showInfoBox(){
const symptomName = 'mucus' const symptomName = 'mucus'
Alert.alert( Alert.alert(
@@ -42,7 +42,7 @@ export default class Mucus extends SymptomView {
this.deleteSymptomEntry() this.deleteSymptomEntry()
return return
} }
const feeling = this.state.feeling const feeling = this.state.feeling
const texture = this.state.texture const texture = this.state.texture
this.saveSymptomEntry({ this.saveSymptomEntry({
+1 -1
View File
@@ -41,7 +41,7 @@ export default class Sex extends SymptomView {
infoLabels[symptomName].text infoLabels[symptomName].text
) )
} }
onBackButtonPress() { onBackButtonPress() {
const nothingEntered = Object.values(this.state).every(val => !val) const nothingEntered = Object.values(this.state).every(val => !val)
if (nothingEntered) { if (nothingEntered) {