import React from 'react'; import { ScrollView, TouchableOpacity, StyleSheet, StatusBar } from 'react-native'; import { BlueListItem, BlueNavigationStyle, BlueHeaderDefaultSubHooks } from '../../BlueComponents'; import { useNavigation } from '@react-navigation/native'; 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 = () => ({ ...BlueNavigationStyle(), headerTitle: '', });