Skip to content

Commit

Permalink
chore: add comment for tray
Browse files Browse the repository at this point in the history
  • Loading branch information
fioncat committed Feb 14, 2025
1 parent dc8ef1a commit 2c2adea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions daemon/src/tray/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,12 @@ fn append_resource_menu(
action: TrayAction,
pin: bool,
) -> Result<()> {
// FIXME: We are currently limited to using emojis as Tauri's Submenu does not support
// icon settings. This should be updated to use icons when Submenu icon support becomes
// available, which will provide better compatibility.
// See: <https://github.com/fioncat/csync/pull/46>
let value = if pin { format!("⭐ {value}") } else { value };

match action {
TrayAction::Copy => {
let key = format!("{key}_copy");
Expand Down

0 comments on commit 2c2adea

Please sign in to comment.