Skip to content

[0.76] Fix reset color scheme #747

@SMYusupov

Description

@SMYusupov

Target Branch(es)

0.76

Link to commit or PR to be picked

facebook/react-native#47725 (comment)

Description

This fixes calling Appearance.setColorScheme(null) or Appearance.setColorScheme(undefined) to reset the color scheme to default system scheme, instead of getting null|undefined by useColorScheme or Appearance.getColorScheme()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Done / Picked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions