From a3005876491122cb42b76282f815295ad05e639b Mon Sep 17 00:00:00 2001 From: I Nyoman Jyotisa Date: Fri, 2 Aug 2024 16:25:45 +0800 Subject: [PATCH] navigate back to report details on back from group name --- src/pages/GroupChatNameEditPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/GroupChatNameEditPage.tsx b/src/pages/GroupChatNameEditPage.tsx index 10c7357611e9..d1cfa8df6c9d 100644 --- a/src/pages/GroupChatNameEditPage.tsx +++ b/src/pages/GroupChatNameEditPage.tsx @@ -91,7 +91,7 @@ function GroupChatNameEditPage({groupChatDraft, report}: GroupChatNameEditPagePr > Navigation.goBack(isUpdatingExistingReport ? ROUTES.REPORT_SETTINGS.getRoute(reportID) : ROUTES.NEW_CHAT_CONFIRM)} + onBackButtonPress={() => Navigation.goBack(isUpdatingExistingReport ? ROUTES.REPORT_WITH_ID_DETAILS.getRoute(reportID) : ROUTES.NEW_CHAT_CONFIRM)} />