Skip to content

Conversation

@1111mp
Copy link
Contributor

@1111mp 1111mp commented Mar 7, 2025

After updating to the latest version of tauri on macOS, getting the system theme always returns light . The onThemeChanged api also doesn't fire when the system theme changes.

Close tauri-apps/tauri#12894

According to the code and recent commit records, this problem should be caused by negligence during the migration process of objc2. 😄

Although the problem is trivial, I still hope it can help you save some time.

@1111mp 1111mp requested a review from a team as a code owner March 7, 2025 03:12
@1111mp 1111mp force-pushed the fix/macos-theme branch from ab1a15f to 56256f6 Compare March 7, 2025 04:26
@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2025

Package Changes Through d63d9ba

There are 1 changes which include tao with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tao 0.32.7 0.32.8

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Copy link
Member

@lucasfernog lucasfernog left a comment

Choose a reason for hiding this comment

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

thanks for finding this and opening a PR ❤️

@lucasfernog lucasfernog merged commit dd9251a into tauri-apps:dev Mar 7, 2025
2 of 18 checks passed
@github-actions github-actions bot mentioned this pull request Mar 7, 2025
@ayangweb
Copy link

ayangweb commented Mar 7, 2025

thanks for finding this and opening a PR ❤️

About how soon will a new version be released?

@martpie
Copy link

martpie commented Mar 7, 2025

Thank you for fixing this!

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.

[bug] onThemeChanged doesn't work anymore in latest versions

4 participants