Skip to content

Commit 190c1ba

Browse files
committed
Set max font size multiplier on notification content
1 parent 52d87f9 commit 190c1ba

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

packages/react-native/Libraries/LogBox/UI/LogBoxNotificationCountBadge.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ export default function LogBoxNotificationCountBadge(props: {
2424
* when fixing the type of `StyleSheet.create`. Remove this comment to
2525
* see the error. */}
2626
<View style={[styles.inside, styles[props.level]]}>
27-
<Text id="logbox_notification_count_text" style={styles.text}>
27+
<Text
28+
id="logbox_notification_count_text"
29+
maxFontSizeMultiplier={1}
30+
style={styles.text}>
2831
{props.count <= 1 ? '!' : props.count}
2932
</Text>
3033
</View>

packages/react-native/Libraries/LogBox/UI/LogBoxNotificationMessage.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export default function LogBoxNotificationMessage(props: {
2424
<View style={styles.container}>
2525
<Text
2626
id="logbox_notification_message_text"
27+
maxFontSizeMultiplier={1}
2728
numberOfLines={1}
2829
style={styles.text}>
2930
{props.message && (

0 commit comments

Comments
 (0)