diff --git a/components/cycle-day/symptoms/bleeding.js b/components/cycle-day/symptoms/bleeding.js index 6658528..2cfb21d 100644 --- a/components/cycle-day/symptoms/bleeding.js +++ b/components/cycle-day/symptoms/bleeding.js @@ -1,9 +1,7 @@ import React from 'react' import { Switch, - ScrollView, - View -} from 'react-native' + ScrollView} from 'react-native' import { bleeding } from '../../../i18n/en/cycle-day' import styles from '../../../styles' @@ -46,19 +44,16 @@ export default class Bleeding extends SymptomView { ] return ( - - - this.setState({ currentValue: val })} - /> - - - + + this.setState({ currentValue: val })} + /> + - - - this.setState({ currentValue: val })} - /> - - + + this.setState({ currentValue: val })} + /> + ) } diff --git a/components/cycle-day/symptoms/mood.js b/components/cycle-day/symptoms/mood.js index 544ca0e..8ad698b 100644 --- a/components/cycle-day/symptoms/mood.js +++ b/components/cycle-day/symptoms/mood.js @@ -1,15 +1,12 @@ import React from 'react' import { ScrollView, - TextInput, - View -} from 'react-native' + TextInput} from 'react-native' import { mood as labels } from '../../../i18n/en/cycle-day' import styles from '../../../styles' import SelectBoxGroup from '../select-box-group' - import SymptomSection from './symptom-section' import SymptomView from './symptom-view' @@ -53,16 +50,15 @@ export default class Mood extends SymptomView { renderContent() { return ( - - - - { this.state.other && + + + { this.state.other && - } - - + } + ) } diff --git a/components/cycle-day/symptoms/mucus.js b/components/cycle-day/symptoms/mucus.js index 1a29eb5..1c75131 100644 --- a/components/cycle-day/symptoms/mucus.js +++ b/components/cycle-day/symptoms/mucus.js @@ -1,9 +1,7 @@ import React from 'react' import { Switch, - ScrollView, - View -} from 'react-native' + ScrollView} from 'react-native' import styles from '../../../styles' import { mucus as labels } from '../../../i18n/en/cycle-day' @@ -57,18 +55,16 @@ export default class Mucus extends SymptomView { // const mandatoryNotCompletedYet = typeof this.state.feeling != 'number' || typeof this.state.texture != 'number' return ( - - - this.setState({ feeling: val })} - active={this.state.feeling} - /> - - + + this.setState({ feeling: val })} + active={this.state.feeling} + /> + - - - { - this.setState({ currentValue: val }) - }} - value={this.state.currentValue} - /> - - + + { + this.setState({ currentValue: val }) + }} + value={this.state.currentValue} + /> + ) } diff --git a/components/cycle-day/symptoms/pain.js b/components/cycle-day/symptoms/pain.js index 334f078..62050d2 100644 --- a/components/cycle-day/symptoms/pain.js +++ b/components/cycle-day/symptoms/pain.js @@ -1,9 +1,7 @@ import React from 'react' import { ScrollView, - TextInput, - View -} from 'react-native' + TextInput} from 'react-native' import { pain as labels } from '../../../i18n/en/cycle-day' import { shared as sharedLabels } from '../../../i18n/en/labels' @@ -55,16 +53,15 @@ export default class Pain extends SymptomView { renderContent() { return ( - - - - { this.state.other && + + + { this.state.other && - } - - + } + ) } } diff --git a/components/cycle-day/symptoms/sex.js b/components/cycle-day/symptoms/sex.js index 745684c..c9735e1 100644 --- a/components/cycle-day/symptoms/sex.js +++ b/components/cycle-day/symptoms/sex.js @@ -55,19 +55,17 @@ export default class Sex extends SymptomView { renderContent() { return ( - - - - - - + + + + - - - - - °C - - - + + + + °C + +