Use GNU license on license screen
This commit is contained in:
+10
-3
@@ -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 (
|
||||
<ScrollView style={styles.licensePage}>
|
||||
<AppText>{licenseText}</AppText>
|
||||
<Hyperlink linkStyle={styles.link} linkText={replace}>
|
||||
<AppText style={styles.settingsSegmentTitle}>{labels.title}</AppText>
|
||||
<AppText>{labels.text}</AppText>
|
||||
</Hyperlink>
|
||||
<View style={styles.licenseButtons}>
|
||||
<Button
|
||||
style={styles.licenseButton}
|
||||
|
||||
Reference in New Issue
Block a user