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

fix: use effectiveAppearance to check dark mode on mojave and above #18845

Merged
merged 1 commit into from Jun 17, 2019

Conversation

codebytere
Copy link
Member

Backport of #18666.

See that PR for more details.

Notes: Fixed issue on macOS Catalina where the tray icon would be highlighted incorrectly and sometimes invisible.

…18666)

* fix: use effectiveAppearance to check dark mode on mojave and above

* chore: add forward declarations for dark appearance
base::scoped_nsobject<AtomMenuController> menuController([
[AtomMenuController alloc] initWithModel:menu_model
useDefaultAccelerator:NO]);
base::scoped_nsobject<AtomMenuController> menuController(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(this is just autoformatting)

@codebytere codebytere merged commit d75750a into 6-0-x Jun 17, 2019
@release-clerk
Copy link

release-clerk bot commented Jun 17, 2019

Release Notes Persisted

Fixed issue on macOS Catalina where the tray icon would be highlighted incorrectly and sometimes invisible.

@codebytere codebytere deleted the tray-highlight-6 branch June 17, 2019 22:54
@trop
Copy link
Contributor

trop bot commented Jun 17, 2019

I have automatically backported this PR to "5-0-x", please check out #18852

@trop
Copy link
Contributor

trop bot commented Jun 17, 2019

I have automatically backported this PR to "4-2-x", please check out #18853

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6-0-x backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants