expo / router

[ARCHIVE]: Expo Router has moved to expo/expo -- The File-based router for universal React Native apps
https://docs.expo.dev/routing/introduction/
1.36k stars 113 forks source link

Removed StatusBar from Root #849

Closed BeBoRE closed 8 months ago

BeBoRE commented 1 year ago

Motivation

This code causes StatusBar components to be overwritten in multiple scenarios and cause flicker if userInterfaceStyle is dark and statusbar should be light and vice versa.

Execution

By removing the StatusBar component from the Root.

Test Plan

Have an app with userInterfaceStyle set to dark. Place a StatusBar component in the _layout root set to dark. Without this PR the status bar is light, but with this PR status bar is dark.

BeBoRE commented 1 year ago

This pull request was created to fix issue #754

EvanBacon commented 8 months ago

Closing as the source for this repo has moved to https://github.com/expo/expo/blob/main/packages/expo-router/