Page MenuHomePhabricator

[native] Fix issue with `ColorSelector` header color
ClosedPublic

Authored by atul on Nov 28 2022, 11:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 4, 12:00 PM
Unknown Object (File)
Mon, Jul 1, 1:03 AM
Unknown Object (File)
Sun, Jun 30, 1:54 AM
Unknown Object (File)
Sun, Jun 30, 12:21 AM
Unknown Object (File)
Sun, Jun 16, 8:02 AM
Unknown Object (File)
Fri, Jun 14, 2:29 PM
Unknown Object (File)
May 29 2024, 9:46 PM
Unknown Object (File)
May 18 2024, 12:02 PM
Subscribers

Details

Summary

Context: https://linear.app/comm/issue/ENG-2354/header-in-color-select-modal-barely-visible-on-dark-mode

Here's where I caused the regression: https://phab.comm.dev/D5619#171440

Basically I set color to modalForegroundLabel in a StyleSheet instead of in an unboundStyles object that gets "bound" with the useStyles(...) hook.

Thanks @kamil for catching this issue.

Test Plan

Here's how it looks in light mode + dark mode:

Simulator Screen Shot - Alice - 2022-11-28 at 23.37.59.png (2×1 px, 165 KB)

Simulator Screen Shot - Alice - 2022-11-28 at 23.37.48.png (2×1 px, 167 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul published this revision for review.Nov 28 2022, 11:43 PM
atul edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Nov 29 2022, 6:39 AM
This revision was landed with ongoing or failed builds.Nov 29 2022, 12:42 PM
This revision was automatically updated to reflect the committed changes.