style: rustfmt tray.rs

This commit is contained in:
skylar
2026-10-25 16:52:55 -06:00
parent c77c63dce4
commit 53edc87ac2
+1 -5
View File
@@ -72,11 +72,7 @@ impl Tray {
let builder = builder.with_icon_templated(image);
#[cfg(not(target_os = "macos"))]
let builder = builder.with_icon(image);
let icon = builder
.with_menu_on_left_click(cfg!(target_os = "macos"))
.with_tooltip("ArtCraft Launcher")
.build()
.map_err(|e| e.to_string())?;
let icon = builder.with_menu_on_left_click(cfg!(target_os = "macos")).with_tooltip("ArtCraft Launcher").build().map_err(|e| e.to_string())?;
let (tx, rx): (Sender<TrayAction>, Receiver<TrayAction>) = channel();
let (show_id, check_id, quit_id) = (show.id().clone(), check.id().clone(), quit.id().clone());
{