diff --git a/src/stacks-hierarchy/Root_TabNavigatorStack/TabNav_ProfileStack/Profile_TravelAidScreen.tsx b/src/stacks-hierarchy/Root_TabNavigatorStack/TabNav_ProfileStack/Profile_TravelAidScreen.tsx index 17f6d8bc99..f07216f3e5 100644 --- a/src/stacks-hierarchy/Root_TabNavigatorStack/TabNav_ProfileStack/Profile_TravelAidScreen.tsx +++ b/src/stacks-hierarchy/Root_TabNavigatorStack/TabNav_ProfileStack/Profile_TravelAidScreen.tsx @@ -12,7 +12,6 @@ import { } from '@atb/components/sections'; import {Button} from '@atb/components/button'; import {usePreferences} from '@atb/preferences'; -import {useRemoteConfig} from '@atb/RemoteConfigContext'; import Bugsnag from '@bugsnag/react-native'; import {useFirestoreConfiguration} from '@atb/configuration'; import {useAnalytics} from '@atb/analytics'; @@ -22,7 +21,6 @@ export const Profile_TravelAidScreen = () => { const styles = useStyles(); const {t} = useTranslation(); const {theme} = useTheme(); - const {enable_travel_aid_stop_button} = useRemoteConfig(); const {setPreference, preferences} = usePreferences(); const {contactPhoneNumber} = useFirestoreConfiguration(); const analytics = useAnalytics(); @@ -34,10 +32,6 @@ export const Profile_TravelAidScreen = () => { const travelAidToggleTitle = t(TravelAidSettingsTexts.toggle.title); const travelAidSubtext = t(TravelAidSettingsTexts.toggle.subText); - const toggleValue = !enable_travel_aid_stop_button - ? false - : preferences.journeyAidEnabled; - return ( {
{ analytics.logEvent( 'Journey aid', @@ -68,7 +62,6 @@ export const Profile_TravelAidScreen = () => { setPreference({journeyAidEnabled: checked}); }} subtext={travelAidSubtext} - disabled={!enable_travel_aid_stop_button} isSubtextMarkdown testID="toggleTravelAid" />