Tweak RNTester status bar on Android (#52369)

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

Tiny fix where the system status bar elements were no longer visible under Android edge-to-edge.

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D77653633

fbshipit-source-id: 1275a0de6665a6ef4599166fb205865cd581bb41
This commit is contained in:
Alex Hunt
2025-07-02 04:34:10 -07:00
committed by Facebook GitHub Bot
parent b578a70bd5
commit 4274d6f7c7
@@ -34,6 +34,7 @@ import {
Button,
Linking,
Platform,
StatusBar,
StyleSheet,
View,
useColorScheme,
@@ -275,6 +276,12 @@ const RNTesterApp = ({
return (
<RNTesterThemeContext.Provider value={theme}>
{Platform.OS === 'android' ? (
<StatusBar
barStyle="dark-content"
backgroundColor={theme.GroupedBackgroundColor}
/>
) : null}
{!shouldHideChrome && (
<RNTTitleBar
title={title}