diff --git a/components/license.js b/components/license.js index 0da53e1..8fdfc9e 100644 --- a/components/license.js +++ b/components/license.js @@ -1,15 +1,22 @@ import React from 'react' import { ScrollView, View, BackHandler } from 'react-native' +import Hyperlink from 'react-native-hyperlink' import AppText from './app-text' -import { licenseText, shared } from '../i18n/en/labels' +import { shared } from '../i18n/en/labels' +import settingsLabels from '../i18n/en/settings' import styles,{secondaryColor} from '../styles' import Button from './button' -import { saveLicenseFlag } from '../local-storage'; +import { saveLicenseFlag } from '../local-storage' +import replace from './helpers/replace-url-with-text' +const labels = settingsLabels.license export default function License({setLicense}) { return ( - {licenseText} + + {labels.title} + {labels.text} +