import React, { useEffect, useState } from 'react';
import { ScrollView, TouchableOpacity, StyleSheet } from 'react-native';
import { BlueNavigationStyle, BlueLoading, SafeBlueArea, BlueListItem } from '../../BlueComponents';
import { useNavigation } from '@react-navigation/native';
const loc = require('../../loc');
const styles = StyleSheet.create({
root: {
flex: 1,
},
});
const NetworkSettings = () => {
const [isLoading, setIsLoading] = useState(true);
const { navigate } = useNavigation();
useEffect(() => {
setIsLoading(false);
}, []);
return isLoading ? (
) : (
navigate('ElectrumSettings')} chevron />
navigate('LightningSettings')}
chevron
/>
navigate('Broadcast')} chevron />
);
};
NetworkSettings.navigationOptions = {
...BlueNavigationStyle(),
title: 'Network',
};
export default NetworkSettings;