diff --git a/app/components/Views/Settings/ExperimentalSettings/__snapshots__/index.test.tsx.snap b/app/components/Views/Settings/ExperimentalSettings/__snapshots__/index.test.tsx.snap index 74479e42982..ce70653185c 100644 --- a/app/components/Views/Settings/ExperimentalSettings/__snapshots__/index.test.tsx.snap +++ b/app/components/Views/Settings/ExperimentalSettings/__snapshots__/index.test.tsx.snap @@ -98,6 +98,113 @@ Array [ > Security + + + + Code Lockdown + + + + + This is a test feature that blocks any changes to the app's JavaScript code without permission. + + + + Learn more + + + . + + Security + + + + Code Lockdown + + + + + This is a test feature that blocks any changes to the app's JavaScript code without permission. + + + + Learn more + + + . + + { const securityAlertsEnabled = useSelector(selectIsSecurityAlertsEnabled); + const [sesEnabled, setSesEnabled] = useState( + storage.getBoolean('is-ses-enabled'), + ); + + const toggleSesEnabled = () => { + storage.set('is-ses-enabled', !sesEnabled); + setSesEnabled(!sesEnabled); + }; + const isFullScreenModal = route?.params?.isFullScreenModal; const theme = useTheme(); @@ -81,6 +96,8 @@ const ExperimentalSettings = ({ navigation, route }: Props) => { navigation.navigate('WalletConnectSessionsView'); }, [navigation]); + const openSesLink = () => Linking.openURL(SES_URL); + const WalletConnectSettings: FC = () => ( <> @@ -106,13 +123,15 @@ const ExperimentalSettings = ({ navigation, route }: Props) => { const BlockaidSettings: FC = () => ( <> - - {strings('app_settings.security_heading')} - + {Device.isAndroid() && ( + + {strings('app_settings.security_heading')} + + )} {strings('experimental_settings.security_alerts')} @@ -153,9 +172,54 @@ const ExperimentalSettings = ({ navigation, route }: Props) => { ); + const SesSettings: FC = () => ( + <> + + {strings('app_settings.security_heading')} + + + + + {strings('app_settings.ses_heading')} + + + + + {strings('app_settings.ses_description')}{' '} +