diff --git a/Libraries/LogBox/UI/LogBoxInspectorFooter.js b/Libraries/LogBox/UI/LogBoxInspectorFooter.js index 5e1d29e63e1..34b0cff249f 100644 --- a/Libraries/LogBox/UI/LogBoxInspectorFooter.js +++ b/Libraries/LogBox/UI/LogBoxInspectorFooter.js @@ -69,6 +69,7 @@ function FooterButton(props: ButtonProps): React.Node { const buttonStyles = StyleSheet.create({ safeArea: { flex: 1, + // $FlowFixMe[sketchy-null-bool] paddingBottom: DeviceInfo.getConstants().isIPhoneX_deprecated ? 30 : 0, }, content: { diff --git a/packages/rn-tester/js/examples/Pressable/PressableExample.js b/packages/rn-tester/js/examples/Pressable/PressableExample.js index 3dc8945c855..a7d0362c1a1 100644 --- a/packages/rn-tester/js/examples/Pressable/PressableExample.js +++ b/packages/rn-tester/js/examples/Pressable/PressableExample.js @@ -166,6 +166,7 @@ function ForceTouchExample() { style={styles.wrapper} testID="pressable_3dtouch_button" onStartShouldSetResponder={() => true} + // $FlowFixMe[sketchy-null-number] onResponderMove={event => setForce(event.nativeEvent?.force || 1)} onResponderRelease={event => setForce(0)}> Press Me diff --git a/packages/rn-tester/js/examples/SafeAreaView/SafeAreaViewExample.js b/packages/rn-tester/js/examples/SafeAreaView/SafeAreaViewExample.js index 353a0c502df..42902ec996f 100644 --- a/packages/rn-tester/js/examples/SafeAreaView/SafeAreaViewExample.js +++ b/packages/rn-tester/js/examples/SafeAreaView/SafeAreaViewExample.js @@ -89,9 +89,12 @@ class IsIPhoneXExample extends React.Component<{...}> { Is this an iPhone X:{' '} - {DeviceInfo.getConstants().isIPhoneX_deprecated - ? 'Yeah!' - : 'Nope. (Or `isIPhoneX_deprecated` was already removed.)'} + { + // $FlowFixMe[sketchy-null-bool] + DeviceInfo.getConstants().isIPhoneX_deprecated + ? 'Yeah!' + : 'Nope. (Or `isIPhoneX_deprecated` was already removed.)' + } );