diff --git a/screen/settings/settings.js b/screen/settings/settings.js index 872172f0e..4d9a9bc9d 100644 --- a/screen/settings/settings.js +++ b/screen/settings/settings.js @@ -1,5 +1,5 @@ import React, { useContext } from 'react'; -import { ScrollView, StyleSheet, Platform, View } from 'react-native'; +import { ScrollView, StyleSheet, Platform } from 'react-native'; import { useNavigation } from '@react-navigation/native'; import navigationStyle from '../../components/navigationStyle'; @@ -20,19 +20,16 @@ const Settings = () => { const { language } = useContext(BlueStorageContext); return ( - <> - - - {Platform.OS === 'android' ? : <>} - navigate('GeneralSettings')} testID="GeneralSettings" chevron /> - navigate('Currency')} testID="Currency" chevron /> - navigate('Language')} testID="Language" chevron /> - navigate('EncryptStorage')} testID="SecurityButton" chevron /> - navigate('NetworkSettings')} testID="NetworkSettings" chevron /> - navigate('Tools')} testID="Tools" chevron /> - navigate('About')} testID="AboutButton" chevron /> - - + + {Platform.OS === 'android' ? : <>} + navigate('GeneralSettings')} testID="GeneralSettings" chevron /> + navigate('Currency')} testID="Currency" chevron /> + navigate('Language')} testID="Language" chevron /> + navigate('EncryptStorage')} testID="SecurityButton" chevron /> + navigate('NetworkSettings')} testID="NetworkSettings" chevron /> + navigate('Tools')} testID="Tools" chevron /> + navigate('About')} testID="AboutButton" chevron /> + ); };