File tree Expand file tree Collapse file tree
packages/react-native/Libraries/LogBox/UI Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ component CodeFrameDisplay(codeFrame: CodeFrame) {
6363 onPress = { ( ) => {
6464 openFileInEditor ( codeFrame . fileName , codeFrame . location ?. row ?? 0 ) ;
6565 } } >
66- < Text style = { styles . fileText } >
66+ < Text maxFontSizeMultiplier = { 1.5 } style = { styles . fileText } >
6767 { getFileName ( ) }
6868 { getLocation ( ) }
6969 </ Text >
@@ -116,7 +116,7 @@ component AppInfo() {
116116 } }
117117 style = { appInfoStyles . buildButton }
118118 onPress = { appInfo . onPress } >
119- < Text style = { appInfoStyles . text } >
119+ < Text maxFontSizeMultiplier = { 1.5 } style = { appInfoStyles . text } >
120120 { appInfo . appVersion } ({ appInfo . engine } )
121121 </ Text >
122122 </ LogBoxButton >
Original file line number Diff line number Diff line change @@ -29,7 +29,10 @@ export default function LogBoxInspectorFooter(props: Props): React.Node {
2929 return (
3030 < View style = { styles . root } >
3131 < View style = { styles . button } >
32- < Text id = "logbox_dismissable_text" style = { styles . syntaxErrorText } >
32+ < Text
33+ id = "logbox_dismissable_text"
34+ maxFontSizeMultiplier = { 1.5 }
35+ style = { styles . syntaxErrorText } >
3336 This error cannot be dismissed.
3437 </ Text >
3538 </ View >
Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ export default function LogBoxInspectorFooterButton(
3535 } }
3636 onPress = { props . onPress } >
3737 < View style = { styles . buttonContent } >
38- < Text style = { styles . buttonLabel } > { props . text } </ Text >
38+ < Text maxFontSizeMultiplier = { 1.5 } style = { styles . buttonLabel } >
39+ { props . text }
40+ </ Text >
3941 </ View >
4042 </ LogBoxButton >
4143 </ SafeAreaView >
Original file line number Diff line number Diff line change @@ -36,7 +36,10 @@ export default function LogBoxInspectorHeader(props: Props): React.Node {
3636 < LogBoxInspectorHeaderSafeArea style = { styles [ props . level ] } >
3737 < View style = { styles . header } >
3838 < View style = { styles . title } >
39- < Text style = { styles . titleText } id = "logbox_header_title_text" >
39+ < Text
40+ id = "logbox_header_title_text"
41+ maxFontSizeMultiplier = { 1.5 }
42+ style = { styles . titleText } >
4043 Failed to compile
4144 </ Text >
4245 </ View >
@@ -63,7 +66,10 @@ export default function LogBoxInspectorHeader(props: Props): React.Node {
6366 onPress = { ( ) => props . onSelectIndex ( prevIndex ) }
6467 />
6568 < View style = { styles . title } >
66- < Text style = { styles . titleText } id = "logbox_header_title_text" >
69+ < Text
70+ id = "logbox_header_title_text"
71+ maxFontSizeMultiplier = { 1.5 }
72+ style = { styles . titleText } >
6773 { titleText }
6874 </ Text >
6975 </ View >
You can’t perform that action at this time.
0 commit comments