diff --git a/src/screens/settings/SettingsScreen.tsx b/src/screens/settings/SettingsScreen.tsx index d30a10e81..ede6109ef 100644 --- a/src/screens/settings/SettingsScreen.tsx +++ b/src/screens/settings/SettingsScreen.tsx @@ -2,6 +2,7 @@ import { version } from 'package.json' import { useCallback, useContext, useEffect, useMemo } from 'react' import { useTranslation } from 'react-i18next' import { Platform, ScrollView, StyleSheet, View } from 'react-native' +import Config from 'react-native-config' import { AppTouchable, Typography } from 'components/index' import { getWalletSetting } from 'core/config' @@ -152,60 +153,39 @@ export const SettingsScreen = ({ - - - {t('settings_screen_version')} {version} + + + {t('settings_screen_version')} {version}- + {Config.USE_RELAY ? 'relay' : 'eoa'} - + - - <> - - {t('settings_screen_smart_wallet_factory')} - - - {smartWalletFactoryAddress} - - - + + + {t('settings_screen_smart_wallet_factory')} + + + {smartWalletFactoryAddress} + + - - <> - - {t('settings_screen_rpc_url')} - - - {rpcUrl} - - - + + + {t('settings_screen_rpc_url')} + + + {rpcUrl} + + - - <> - - {t('settings_screen_backend_url')} - - - {walletServiceUrl} - - - + + + {t('settings_screen_backend_url')} + + + {walletServiceUrl} + + )