From 0f901686c6ab4ab04011a3c3bcfc1bbe8a072eb0 Mon Sep 17 00:00:00 2001 From: Sanjay Sargam Date: Sat, 20 Jan 2024 01:34:16 +0530 Subject: [PATCH] fix: when searching and then closing search then title Threads or Discussions is not aligned in center (#5471) * fix: title align in center * Update app/views/DiscussionsView/index.tsx * Update app/views/ThreadMessagesView/index.tsx --------- Co-authored-by: Gleidson Daniel Silva --- app/views/DiscussionsView/index.tsx | 1 + app/views/ThreadMessagesView/index.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/app/views/DiscussionsView/index.tsx b/app/views/DiscussionsView/index.tsx index ea937eaa0..5fe697c72 100644 --- a/app/views/DiscussionsView/index.tsx +++ b/app/views/DiscussionsView/index.tsx @@ -124,6 +124,7 @@ const DiscussionsView = ({ navigation, route }: IDiscussionsViewProps): React.Re options = { headerTitleAlign: 'center', headerTitle: I18n.t('Discussions'), + headerTitleContainerStyle: {}, headerRightContainerStyle: { flexGrow: 1 }, headerLeft: () => ( (