Skip to content

Commit 5c03bf7

Browse files
committed
Add max width for header title on Android
1 parent b8656ab commit 5c03bf7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/HeaderTitle.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ const HeaderTitle: React.FC<React.PropsWithChildren<HeaderTitleProps>> = ({
1414
return (
1515
<View
1616
style={{
17+
maxWidth:
18+
Platform.OS === 'android' && !DeviceInfo.isTablet() ? 250 : undefined,
1719
height:
1820
Platform.OS === 'android' ? (DeviceInfo.isTablet() ? 64 : 56) : 44,
1921
justifyContent: 'center',

0 commit comments

Comments
 (0)