Skip to content

Conversation

@zoontek
Copy link
Contributor

@zoontek zoontek commented Jun 10, 2025

Summary:

This PR is part of the edge-to-edge core implementation effort. It adds a helper to ContextUtils, called isDarkMode in order to be reused accross the Android codebase.

Changelog:

  • [Internal] [Added] - Add UiModeUtils.isDarkMode helper

Test Plan:

Screenshot 2025-06-10 at 17 50 19 Screenshot 2025-06-10 at 17 50 42

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Jun 10, 2025
@facebook-github-bot
Copy link
Contributor

@alanleedev has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@zoontek zoontek force-pushed the add-is-dark-mode-util branch from 7aa1457 to be0e2bd Compare June 13, 2025 09:29
@zoontek zoontek changed the title Add ContextUtils.isDarkMode helper Add UiModeUtils.isDarkMode helper Jun 13, 2025
@facebook-github-bot
Copy link
Contributor

@alanleedev has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 16, 2025
@facebook-github-bot
Copy link
Contributor

@alanleedev merged this pull request in 3c17e10.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @zoontek in 3c17e10

When will my fix make it into a release? | How to file a pick request?

@zoontek zoontek deleted the add-is-dark-mode-util branch July 14, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants