diff --git a/components/app-wrapper.js b/components/app-wrapper.js
index 90a904e..0ac1748 100644
--- a/components/app-wrapper.js
+++ b/components/app-wrapper.js
@@ -18,14 +18,13 @@ export default class AppWrapper extends Component {
async checkLicenseAgreement() {
const agreed = await getLicenseFlag()
- console.log(agreed)
if (agreed) this.setState({showLicense: false})
}
render() {
return (
this.state.showLicense ?
-
+ this.setState({showLicense: false})}/>
:
{this.state.showApp ?
diff --git a/components/button.js b/components/button.js
index 696c918..70d778e 100644
--- a/components/button.js
+++ b/components/button.js
@@ -1,18 +1,20 @@
import React from 'react'
-import { View } from 'react-native'
+import { TouchableOpacity } from 'react-native'
import AppText from './app-text'
import styles from '../styles'
-export default function Button({ backgroundColor, style, children }) {
+export default function Button(props) {
return (
-
+
- {children}
+ {props.children}
-
+
)
}
\ No newline at end of file
diff --git a/components/home.js b/components/home.js
index ffba42f..37e04c2 100644
--- a/components/home.js
+++ b/components/home.js
@@ -66,7 +66,9 @@ export default class Home extends Component {
{cycleDayMoreText}
}
-