Implements 2 improvements from MR comments:
- Moves title of symptom in the header - Deletes additional comma out of cycle day overview
This commit is contained in:
@@ -9,7 +9,7 @@ import styles from '../../../styles'
|
||||
import { saveSymptom } from '../../../db'
|
||||
import ActionButtonFooter from './action-button-footer'
|
||||
|
||||
export default class Temp extends Component {
|
||||
export default class Note extends Component {
|
||||
constructor(props) {
|
||||
super(props)
|
||||
this.cycleDay = props.cycleDay
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import React, { Component } from 'react'
|
||||
import {
|
||||
CheckBox,
|
||||
ScrollView,
|
||||
Text,
|
||||
TextInput,
|
||||
View,
|
||||
ScrollView
|
||||
View
|
||||
} from 'react-native'
|
||||
import styles from '../../../styles'
|
||||
import { saveSymptom } from '../../../db'
|
||||
@@ -27,13 +27,11 @@ export default class Pain extends Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
return (
|
||||
<View style={{ flex: 1 }}>
|
||||
<ScrollView>
|
||||
<View>
|
||||
<View style={styles.symptomViewRowInline}>
|
||||
<Text style={styles.symptomDayView}>PAIN</Text>
|
||||
<Text style={styles.symptomDayView}>{painLabels.cramps}</Text>
|
||||
<CheckBox
|
||||
value={this.state.cramps}
|
||||
|
||||
Reference in New Issue
Block a user