File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ use tauri_plugin_global_shortcut::GlobalShortcutExt;
488488
489489tauri :: Builder :: default ()
490490 . plugin (
491- tauri_plugin_global_shortcut :: Builder :: with_handler (| app , shortcut | {
491+ tauri_plugin_global_shortcut :: Builder :: new () . with_handler (| app , shortcut | {
492492 println! (" Shortcut triggered: {:?}" , shortcut );
493493 })
494494 . build (),
Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ use tauri_plugin_global_shortcut::GlobalShortcutExt;
494494
495495tauri :: Builder :: default ()
496496 . plugin (
497- tauri_plugin_global_shortcut :: Builder :: with_handler (| app , shortcut | {
497+ tauri_plugin_global_shortcut :: Builder :: new () . with_handler (| app , shortcut | {
498498 println! (" Shortcut triggered: {:?}" , shortcut );
499499 })
500500 . build (),
Original file line number Diff line number Diff line change @@ -489,7 +489,7 @@ use tauri_plugin_global_shortcut::GlobalShortcutExt;
489489
490490tauri :: Builder :: default ()
491491 . plugin (
492- tauri_plugin_global_shortcut :: Builder :: with_handler (| app , shortcut | {
492+ tauri_plugin_global_shortcut :: Builder :: new () . with_handler (| app , shortcut | {
493493 println! (" Shortcut triggered: {:?}" , shortcut );
494494 })
495495 . build (),
You can’t perform that action at this time.
0 commit comments