Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[menu-bar] Refactor SystemIconView to work when switching themes #85

Merged
merged 2 commits into from Oct 19, 2023

Conversation

gabrieldonadel
Copy link
Member

Why

Closes ENG-10386

How

Refactor SystemIconView to no longer inherit from RCTImageView and use NSImageView directly. This way we can easily set the image as a template and change the view contentTintColor

Test Plan

Screen.Recording.2023-10-19.at.00.26.35.mov

@linear
Copy link

linear bot commented Oct 19, 2023

@gabrieldonadel gabrieldonadel merged commit 4343cd6 into main Oct 19, 2023
1 check passed
@gabrieldonadel gabrieldonadel deleted the @gabrieldonadel/fix-system-icon-view-appearance branch October 19, 2023 03:32
@Saadnajmi
Copy link

FWIW, <Image> has a tint property that is currently broken on RN macOS I think.. is that affecting y'all right now?

@gabrieldonadel
Copy link
Member Author

FWIW, <Image> has a tint property that is currently broken on RN macOS I think.. is that affecting y'all right now?

Ohh now things make more sense 😅

I remember that the SystemIconView component used to work a couple of months ago but for some reason it stopped working. Seems that it was related to the react-native-maps upgrade then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants