Skip to content

fix(tray): replace deprecated set_icon_as_template (macOS clippy on Tauri 2.13) - #60

Merged
dylanh724 merged 1 commit into
mainfrom
fix/macos-tray-template-deprecation
Dec 3, 2026
Merged

dylanh724 merged 1 commit into
mainfrom
fix/macos-tray-template-deprecation

Conversation

@dylanh724

Copy link
Copy Markdown
Member

Summary

  • The macOS clippy job on main fails since chore(deps): upgrade to Tauri 2.13 and tauri-plugin-updater 2.14.1 #58: Tauri 2.13 deprecated TrayIcon::set_icon_as_template, and warnings are errors.
  • The idle icon now goes through set_icon_templated; the colored recording/transcribing icons go through set_icon, which clears the template flag (tray-icon 0.27).

Test plan

  • cargo clippy -p echophrase --no-default-features --all-targets -- -D warnings on Windows
  • macOS clippy and tests: only run on main after merge
  • On a Mac: idle tray icon follows the menu bar color, recording/transcribing icons keep their colored dot

…auri 2.13)

Tauri 2.13 deprecated TrayIcon::set_icon_as_template, which fails the macOS clippy job (warnings are errors). The idle icon now goes through set_icon_templated and the colored recording/transcribing icons through set_icon, which clears the template flag.
@dylanh724
dylanh724 merged commit 924245b into main Dec 3, 2026
6 checks passed
@dylanh724
dylanh724 deleted the fix/macos-tray-template-deprecation branch December 3, 2026 14:42
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.

1 participant