diff --git a/components/license.js b/components/license.js
index fbe7928..6406824 100644
--- a/components/license.js
+++ b/components/license.js
@@ -1,44 +1,49 @@
import React from 'react'
import PropTypes from 'prop-types'
-import { ScrollView, View, BackHandler } from 'react-native'
+import { BackHandler, StyleSheet, View } from 'react-native'
+
+import AppPage from './common/app-page'
import AppText from './common/app-text'
-import { shared } from '../i18n/en/labels'
-import settingsLabels from '../i18n/en/settings'
-import styles,{secondaryColor} from '../styles'
import Button from './common/button'
+import Segment from './common/segment'
+
import { saveLicenseFlag } from '../local-storage'
+import { shared } from '../i18n/en/labels'
+import settingsLabels from '../i18n/en/settings'
+import { Containers } from '../styles/redesign'
+
const labels = settingsLabels.license
-export default function License({setLicense}) {
+
+export default function License({ setLicense }) {
+ const onAcceptLicense = async () => {
+ await saveLicenseFlag()
+ setLicense()
+ }
+
return (
-
- {labels.title}
- {labels.text}
-
-
-
-
-
+
+
+ {labels.text}
+
+
+
+
+
+
)
}
License.propTypes = {
setLicense: PropTypes.func.isRequired
}
+
+const styles = StyleSheet.create({
+ container: {
+ ...Containers.rowContainer
+ }
+})