diff --git a/app/components/navigation_header/header.tsx b/app/components/navigation_header/header.tsx index 9f61ed07f..60274935b 100644 --- a/app/components/navigation_header/header.tsx +++ b/app/components/navigation_header/header.tsx @@ -73,10 +73,8 @@ const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => ({ justifyContent: 'center', flex: 3, height: '100%', - paddingHorizontal: 8, ...Platform.select({ ios: { - paddingHorizontal: 60, flex: undefined, width: '100%', position: 'absolute', @@ -177,9 +175,15 @@ const Header = ({ const containerStyle = useMemo(() => ( [styles.container, containerAnimatedStyle]), [styles, containerAnimatedStyle]); - const additionalTitleStyle = useMemo(() => ({ - marginLeft: Platform.select({android: showBackButton && !leftComponent ? 20 : 0}), - }), [leftComponent, showBackButton]); + const additionalTitleStyle = useMemo(() => { + return { + marginLeft: Platform.select({android: showBackButton && !leftComponent ? 20 : 0}), + paddingHorizontal: Platform.select({ + ios: rightButtons?.length === 2 ? 90 : 60, + android: 8, + }), + }; + }, [leftComponent, showBackButton, rightButtons]); return (