From b91b890a1de830c820d38cb19e21979668c54074 Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 27 Aug 2024 18:05:32 +0200 Subject: [PATCH] Fix navigation pop for split screens Linked to #315 --- components/ConversationListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ConversationListItem.tsx b/components/ConversationListItem.tsx index faa090f5d..63e7e5ceb 100644 --- a/components/ConversationListItem.tsx +++ b/components/ConversationListItem.tsx @@ -123,7 +123,7 @@ const ConversationListItem = memo(function ConversationListItem({ }); // Take the user back to wherever the conversation was restored "to" // https://github.com/ephemeraHQ/converse-app/issues/315#issuecomment-2312903441 - navigation.pop(2); + navigation.pop(isSplitScreen ? 1 : 2); }, [translate("cancel")]: () => {}, };