Use space instead of empty string to hide back button on iOS (#234)

This commit is contained in:
Janic Duplessis
2020-01-03 11:16:48 -05:00
committed by Michał Osadnik
parent 87d28ca430
commit 8f9a250958

View File

@@ -57,7 +57,7 @@ export default function HeaderConfig(props: Props) {
? headerTintColor
: colors.text
}
backTitle={headerBackTitleVisible ? headerBackTitle : ''}
backTitle={headerBackTitleVisible ? headerBackTitle : ' '}
backTitleFontFamily={headerBackTitleStyle.fontFamily}
backTitleFontSize={headerBackTitleStyle.fontSize}
color={headerTintColor !== undefined ? headerTintColor : colors.primary}