Skip to content

removal of textColor from base application theme#31487

Closed
sidverma32 wants to merge 1 commit into
facebook:masterfrom
sidverma32:pr/alert-dark-mode-theme
Closed

removal of textColor from base application theme#31487
sidverma32 wants to merge 1 commit into
facebook:masterfrom
sidverma32:pr/alert-dark-mode-theme

Conversation

@sidverma32
Copy link
Copy Markdown
Contributor

@sidverma32 sidverma32 commented May 6, 2021

Summary

#31345

The issue to android/app/src/main/res/values/styles.xml.
In the base application theme, there is an explicitly added item
<item name="android:textColor">#000000</item>
This leads the textColor of the app to be black even though the theme is actually DayNight.
A permanent fix would be to not have this item added by default when creating a new project, as it is buggy behavior

Changelog

[General] [removed] - line <item name="android:textColor">#000000</item> in this file android/app/src/main/res/values/styles.xml for the inital setup

Test Plan

Removing this has fixed the issue for me.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 6, 2021
@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 438a4cf

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

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

@ShikaSD merged this pull request in b3a715f.

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. Needs: React Native Team Attention

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants