changes footer depending on new entry or edit mode

This commit is contained in:
tina
2018-09-23 12:06:23 +02:00
parent 8357d61170
commit e5052bf088
5 changed files with 70 additions and 24 deletions
@@ -40,6 +40,7 @@ export default class Bleeding extends Component {
buttons={bleedingRadioProps}
active={this.state.currentValue}
onSelect={val => this.setState({ currentValue: val })}
isRadioButton={true}
/>
</SymptomSection>
<SymptomSection
@@ -56,6 +57,7 @@ export default class Bleeding extends Component {
</SymptomSection>
</ScrollView>
<ActionButtonFooter
symptom='bleeding'
cycleDay={this.props.cycleDay}
saveAction={() => {
saveSymptom('bleeding', this.props.cycleDay, {