From e2aa6e4003f5be3b4153ce4dcad3e69e9041d557 Mon Sep 17 00:00:00 2001 From: Sebastian-Webster <84299475+Sebastian-Webster@users.noreply.github.com> Date: Sat, 3 Feb 2024 10:03:57 +1300 Subject: [PATCH] Login Activity Settings text is now clickable --- .../LoginActivitySettings.js | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/screens/SecuritySettingsScreens/LoginActivitySettings.js b/screens/SecuritySettingsScreens/LoginActivitySettings.js index 6130dd4..18ed0a5 100644 --- a/screens/SecuritySettingsScreens/LoginActivitySettings.js +++ b/screens/SecuritySettingsScreens/LoginActivitySettings.js @@ -197,12 +197,12 @@ const LoginActivitySettings = ({navigation, route}) => { { typeof currentSettings.getIP === 'boolean' ? - + {setCurrentSettings(settings => ({...settings, getIP: !settings.getIP}))}} style={{flexDirection: 'row', alignItems: 'center'}}> Store IP: - {setCurrentSettings(settings => ({...settings, getIP: !settings.getIP}))}} style={{width: 40, height: 40, borderColor: colors.borderColor, borderWidth: 3, justifyContent: 'center', alignItems: 'center'}}> + {currentSettings.getIP ? '✓' : '✕'} - - + + : <> Store IP: @@ -213,12 +213,12 @@ const LoginActivitySettings = ({navigation, route}) => { { typeof currentSettings.getDeviceType === 'boolean' ? - + {setCurrentSettings(settings => ({...settings, getDeviceType: !settings.getDeviceType}))}} style={{flexDirection: 'row', alignItems: 'center'}}> Store Device Type: - {setCurrentSettings(settings => ({...settings, getDeviceType: !settings.getDeviceType}))}} style={{width: 40, height: 40, borderColor: colors.borderColor, borderWidth: 3, justifyContent: 'center', alignItems: 'center'}}> + {currentSettings.getDeviceType ? '✓' : '✕'} - - + + : <> Store Device Type: @@ -230,12 +230,12 @@ const LoginActivitySettings = ({navigation, route}) => { { typeof currentSettings.getLocation === 'boolean' ? <> - + {setCurrentSettings(settings => ({...settings, getLocation: !settings.getLocation}))}} style={{flexDirection: 'row', alignItems: 'center'}}> Store Location: - {setCurrentSettings(settings => ({...settings, getLocation: !settings.getLocation}))}} style={{width: 40, height: 40, borderColor: colors.borderColor, borderWidth: 3, justifyContent: 'center', alignItems: 'center'}}> + {currentSettings.getLocation ? '✓' : '✕'} - - + + (Location is derived from your IP address and SocialSquare does not use GPS data to get your location) :