feat(global-shortcut): pass app handle to the closure, closes #657 (#658)

* feat(global-shortcut): pass app handle to the closure, closes #657

* Update global-shortcut-app-handle.md
This commit is contained in:
Amr Bashir
2023-10-16 20:39:27 +03:00
committed by GitHub
parent 28ec084e56
commit c2103c91bc
2 changed files with 23 additions and 8 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"global-shortcut": "patch"
---
**Breaking Change**: Changed `Builder::with_handler` closure to take `&AppHandle` as the first argument and the shortcut as the second argument.