SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Fix hardcoded notch marginTop in RNTester (#55132)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/55132

RNTester doesnt use safe areas and instead hardcodes the margin top based on Platform.OS. Issue is that AppleTV returns `ios` so there is a gap since there is no notch. Instead of adding a new Metro platform, just using the deviceIdiom instead for now.

Changelog: [internal]

Reviewed By: Abbondanzo

Differential Revision: D90514023

fbshipit-source-id: 9d41017ccbfd0376a304cae3177d75e67fe14d3f
D
Devan Buggay committed
400a3b591674ac316e388c90535131f77faf75ba
Parent: 42340dc
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 1/14/2026, 12:09:38 AM