Header title defaults to disabled font scaling

This commit is contained in:
Brent Vatne
2019-03-15 10:39:00 -07:00
parent 092f870359
commit b433982e76

View File

@@ -164,7 +164,7 @@ class Header extends React.PureComponent {
return (
<HeaderTitleComponent
onLayout={onLayout}
allowFontScaling={allowFontScaling == null ? true : allowFontScaling}
allowFontScaling={!!allowFontScaling}
style={[
color ? { color } : null,
layoutPreset === 'center'