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 <gleidson10daniel@hotmail.com>
This commit is contained in:
parent
f936d022eb
commit
0f901686c6
|
@ -124,6 +124,7 @@ const DiscussionsView = ({ navigation, route }: IDiscussionsViewProps): React.Re
|
|||
options = {
|
||||
headerTitleAlign: 'center',
|
||||
headerTitle: I18n.t('Discussions'),
|
||||
headerTitleContainerStyle: {},
|
||||
headerRightContainerStyle: { flexGrow: 1 },
|
||||
headerLeft: () => (
|
||||
<HeaderBackButton
|
||||
|
|
|
@ -131,6 +131,7 @@ class ThreadMessagesView extends React.Component<IThreadMessagesViewProps, IThre
|
|||
const options: StackNavigationOptions = {
|
||||
headerTitleAlign: 'center',
|
||||
headerTitle: I18n.t('Threads'),
|
||||
headerTitleContainerStyle: {},
|
||||
headerRightContainerStyle: { flexGrow: 1 },
|
||||
headerLeft: () => (
|
||||
<HeaderBackButton
|
||||
|
|
Loading…
Reference in New Issue