diff --git a/apps/mobile/src/views/Settings/index.js b/apps/mobile/src/views/Settings/index.js index 95e1b2565..e344424d3 100644 --- a/apps/mobile/src/views/Settings/index.js +++ b/apps/mobile/src/views/Settings/index.js @@ -4,11 +4,9 @@ import { Linking, Platform, ScrollView, - Text, TouchableOpacity, View, } from 'react-native'; -import * as Animatable from 'react-native-animatable'; import Menu, {MenuItem} from 'react-native-reanimated-material-menu'; import Icon from 'react-native-vector-icons/MaterialCommunityIcons'; import {Button} from '../../components/Button'; @@ -119,7 +117,6 @@ export const Settings = ({navigation}) => { const checkVaultStatus = useCallback(() => { db.vault.add('check_no_vault').catch(async (e) => { - let biometry = await Keychain.getSupportedBiometryType(); let fingerprint = await Keychain.hasInternetCredentials('nn_vault'); @@ -167,7 +164,7 @@ export const Settings = ({navigation}) => { }; const SectionHeader = ({title}) => ( - { height: 35, }}> {title} - + ); const backupItemsList = [ @@ -243,7 +240,8 @@ export const Settings = ({navigation}) => { borderRadius: 0, flexDirection: 'row', }}> - { {title} {tagline ? '\n' : null} - + {tagline} - + {customComponent ? customComponent : null} ); return ( - { )} - Accent Color{'\n'} - + Choose a color to use as accent color - + { } /> - { ))} - + */} {DDS.isTab ? ( { height: 50, paddingHorizontal: 12, }}> - Auto Backup{'\n'} - + Backup your data automatically. - + { }} /> - + ); };