mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-25 13:05:26 +08:00
Header title defaults to disabled font scaling
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user