From b9c354e335e3ac2aba8ef9d6859d75ce41f395c9 Mon Sep 17 00:00:00 2001 From: Daniel Gale-Rosen Date: Wed, 5 Feb 2025 16:32:42 -0800 Subject: [PATCH 01/10] allow going to old dot with copilot --- .../ExitSurvey/ExitSurveyBookCall.tsx | 105 +++++++++--------- .../ExitSurvey/ExitSurveyConfirmPage.tsx | 69 ++++++------ .../ExitSurvey/ExitSurveyReasonPage.tsx | 85 +++++++------- .../ExitSurvey/ExitSurveyResponsePage.tsx | 83 +++++++------- src/pages/settings/InitialSettingsPage.tsx | 14 +-- 5 files changed, 166 insertions(+), 190 deletions(-) diff --git a/src/pages/settings/ExitSurvey/ExitSurveyBookCall.tsx b/src/pages/settings/ExitSurvey/ExitSurveyBookCall.tsx index 10085dd7a569..93191b809ee8 100644 --- a/src/pages/settings/ExitSurvey/ExitSurveyBookCall.tsx +++ b/src/pages/settings/ExitSurvey/ExitSurveyBookCall.tsx @@ -1,7 +1,6 @@ import React from 'react'; import {View} from 'react-native'; import Button from '@components/Button'; -import DelegateNoAccessWrapper from '@components/DelegateNoAccessWrapper'; import FixedFooter from '@components/FixedFooter'; import HeaderWithBackButton from '@components/HeaderWithBackButton'; import ScreenWrapper from '@components/ScreenWrapper'; @@ -23,60 +22,58 @@ function ExitSurveyBookCallPage() { return ( - - Navigation.goBack()} + Navigation.goBack()} + /> + + {isOffline && } + {!isOffline && ( + <> + {translate('exitSurvey.bookACallTitle')} + {translate('exitSurvey.bookACallTextTop')} + + {Object.values(CONST.EXIT_SURVEY.BENEFIT).map((value) => { + return ( + + + {translate(`exitSurvey.benefits.${value}`)} + + ); + })} + + {translate('exitSurvey.bookACallTextBottom')} + + )} + + +