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;
488
488
489
489
tauri :: Builder :: default ()
490
490
. plugin (
491
- tauri_plugin_global_shortcut :: Builder :: with_handler (| app , shortcut | {
491
+ tauri_plugin_global_shortcut :: Builder :: new () . with_handler (| app , shortcut | {
492
492
println! (" Shortcut triggered: {:?}" , shortcut );
493
493
})
494
494
. build (),
Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ use tauri_plugin_global_shortcut::GlobalShortcutExt;
494
494
495
495
tauri :: Builder :: default ()
496
496
. plugin (
497
- tauri_plugin_global_shortcut :: Builder :: with_handler (| app , shortcut | {
497
+ tauri_plugin_global_shortcut :: Builder :: new () . with_handler (| app , shortcut | {
498
498
println! (" Shortcut triggered: {:?}" , shortcut );
499
499
})
500
500
. build (),
Original file line number Diff line number Diff line change @@ -489,7 +489,7 @@ use tauri_plugin_global_shortcut::GlobalShortcutExt;
489
489
490
490
tauri :: Builder :: default ()
491
491
. plugin (
492
- tauri_plugin_global_shortcut :: Builder :: with_handler (| app , shortcut | {
492
+ tauri_plugin_global_shortcut :: Builder :: new () . with_handler (| app , shortcut | {
493
493
println! (" Shortcut triggered: {:?}" , shortcut );
494
494
})
495
495
. build (),
You can’t perform that action at this time.
0 commit comments