import React from 'react'; import { ScrollView } from 'react-native'; import { useNavigation } from '@react-navigation/native'; import Notifications from '../../blue_modules/notifications'; import navigationStyle from '../../components/navigationStyle'; import loc from '../../loc'; import ListItem from '../../components/ListItem'; import SafeArea from '../../components/SafeArea'; const NetworkSettings = () => { const { navigate } = useNavigation(); const navigateToElectrumSettings = () => { navigate('ElectrumSettings'); }; const navigateToLightningSettings = () => { navigate('LightningSettings'); }; return ( {Notifications.isNotificationsCapable && ( navigate('NotificationSettings')} testID="NotificationSettings" chevron /> )} ); }; NetworkSettings.navigationOptions = navigationStyle({}, opts => ({ ...opts, headerTitle: loc.settings.network })); export default NetworkSettings;