Skip to content

armgit / Handy

Public Imported from GitHub
0

A free, open source, and extensible speech-to-text application that works completely offline.

minor tweak to call

CJ Pais18786b6f9bc5
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index e963f17d..f35ed523 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -95,6 +95,7 @@ pub fn run() {
)?)?)
.menu(&menu)
.show_menu_on_left_click(true)
+ .icon_as_template(true)
.on_menu_event(|app, event| match event.id.as_ref() {
"settings" => {
if let Some(settings_window) = app.get_webview_window("main") {
@@ -128,7 +129,6 @@ pub fn run() {
_ => {}
})
.build(app)?;
- let _ = tray.set_icon_as_template(true);
app.manage(tray);
// Get the autostart manager