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