import React from 'react'; import { SafeAreaView, StyleSheet, ScrollView, View, Text, StatusBar, Modal, TouchableHighlight, Image, FlatList, TouchableOpacity, } from 'react-native'; import { Header, LearnMoreLinks, Colors, DebugInstructions, ReloadInstructions, } from 'react-native/Libraries/NewAppScreen'; import styles from './styles/morestyles' import LinearGradient from 'react-native-linear-gradient' import { NavigationContainer } from '@react-navigation/native' import { createStackNavigator } from '@react-navigation/stack' import I18n from './i18n'; import Language from './Language' const Stack = createStackNavigator() class SettingSwitch extends React.Component { constructor(props) { super(props) this.props = props } render() { return ( this.props.navigation.navigate(item.key)}> {I18n.t('settings.' + item.key)} } /> ) } } const background = () class Settings extends React.Component { render() { return ( background }} /> background }} /> ) } } export default Settings;