Added about section to settings
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user