fix: reduce header title margin. fixes #8267

This commit is contained in:
Satyajit Sahoo
2020-05-15 17:38:13 +02:00
parent 7623945f6e
commit d45dbe97dc

View File

@@ -355,7 +355,9 @@ export default class HeaderSegment extends React.Component<Props, State> {
: {
marginHorizontal:
(leftButton ? 32 : 16) +
(leftLabelLayout?.width || 0) +
(leftButton && headerBackTitleVisible !== false
? 40
: 0) +
Math.max(insets.left, insets.right),
},
titleStyle,