import React from 'react'; import { ScrollView, TouchableOpacity, StyleSheet, StatusBar } from 'react-native'; import { useNavigation } from '@react-navigation/native'; import navigationStyle from '../../components/navigationStyle'; import { BlueListItem, BlueHeaderDefaultSubHooks } from '../../BlueComponents'; import loc from '../../loc'; const styles = StyleSheet.create({ root: { flex: 1, }, }); const Settings = () => { const { navigate } = useNavigation(); return ( navigate('GeneralSettings')} chevron /> navigate('Currency')} chevron /> navigate('Language')} chevron /> navigate('EncryptStorage')} component={TouchableOpacity} testID="SecurityButton" chevron /> navigate('NetworkSettings')} chevron /> navigate('NotificationSettings')} chevron /> navigate('SettingsPrivacy')} chevron /> navigate('About')} testID="AboutButton" chevron /> ); }; export default Settings; Settings.navigationOptions = navigationStyle({ headerTitle: '', });