Skip to content
This repository has been archived by the owner on Jan 1, 2025. It is now read-only.

Propper fix for Linux theme resetting #89

Merged
merged 3 commits into from
May 13, 2024
Merged

Conversation

dark-steveneq
Copy link
Contributor

Related Issue

Proposed Changes

Instead of firing nativeTheme event only once when running on Linux, it gets fired only when theme's set to auto(Follow System Theme). This basically guarantees that if you change your theme and you have a broken dark theme preference (what appeared to caused the issue for me) the theme change event won't keep reverting it to open_beta on startup.

Additional Info

This PR is basically the proper to do what I did in my yesterday's PR.

@ItsSim
Copy link
Owner

ItsSim commented May 13, 2024

There are some ESlint errors if you can resolve those

@dark-steveneq
Copy link
Contributor Author

There. I kind of forgot about linting since I was doing everything from a live Linux install to test everything with a proper desktop.

@ItsSim ItsSim merged commit 76d3ce1 into ItsSim:develop May 13, 2024
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants