Merge branch '122-add-about-info-section-to-settings' into 'master'

Added about section to settings

See merge request bloodyhealth/drip!132
This commit is contained in:
Julia Friesel
2018-12-19 08:18:24 +00:00
3 changed files with 23 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import React, { Component } from 'react'
import {
View
} from 'react-native'
import AppText from '../app-text'
import styles from '../../styles/index'
import { settings as labels } from '../../i18n/en/settings'
export default class AboutSection extends Component {
render() {
return (
<View style={styles.settingsSegment}>
<AppText style={styles.settingsSegmentTitle}>{`${labels.aboutSection.title} `}</AppText>
<AppText>{`${labels.aboutSection.segmentExplainer} `}</AppText>
</View>
)
}
}
+2
View File
@@ -10,6 +10,7 @@ import AppText from '../app-text'
import TempReminderPicker from './temp-reminder-picker'
import PeriodReminderPicker from './period-reminder'
import TempSlider from './temp-slider'
import AboutSection from './about'
import openImportDialogAndImport from './import-dialog'
import openShareDialogAndExport from './export-dialog'
import PasswordSetting from './password'
@@ -61,6 +62,7 @@ export default class Settings extends Component {
</AppText>
</TouchableOpacity>
</View>
<AboutSection/>
</ScrollView>
)
}