react-native-screens icon indicating copy to clipboard operation
react-native-screens copied to clipboard

TVOS does not support dark appearance

Open alduzy opened this issue 1 month ago • 1 comments

Description

When trying the TVOSExample app with device's appearance set to dark i noticed the header title is almost invisible. There is a difference in how the modal header is presented as well. The app looks fine when used with appearance set to light. It's worth noting I did not pass any extra theme to NavigationContainer.

Screenshots

light dark
Screenshot 2024-07-02 at 10 09 37 Screenshot 2024-07-02 at 10 14 41
Screenshot 2024-07-02 at 10 09 30 Screenshot 2024-07-02 at 10 14 50

Expected behaviour

The app should not change it's look based on device's appearance until it is intended by passing theme to NavigationContainer. That's how it works on iOS and android.

Steps to reproduce

  1. Open TVOSExample app
  2. Toggle device's appearance
  3. See changes in the app

Snack or a link to a repository

https://github.com/software-mansion/react-native-screens/tree/main/TVOSExample

Screens version

3.32.0

React Native version

0.74.1

Platforms

tvOS

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

alduzy avatar Jul 02 '24 08:07 alduzy