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)
Nov 6 2024, 7:05 PM
Unknown Object (File)
Nov 2 2024, 10:44 PM
Unknown Object (File)
Nov 2 2024, 10:44 PM
Unknown Object (File)
Nov 2 2024, 10:44 PM
Unknown Object (File)
Nov 2 2024, 10:44 PM
Unknown Object (File)
Nov 2 2024, 10:41 PM
Unknown Object (File)
Oct 6 2024, 10:34 PM
Unknown Object (File)
Oct 4 2024, 8:24 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.