mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-30 17:48:50 +02:00
docs(global-shortcut): import Emitter instead of Manager in example
This commit is contained in:
@@ -54,7 +54,7 @@ fn main() {
|
|||||||
.setup(|app| {
|
.setup(|app| {
|
||||||
#[cfg(desktop)]
|
#[cfg(desktop)]
|
||||||
{
|
{
|
||||||
use tauri::Manager;
|
use tauri::Emitter;
|
||||||
use tauri_plugin_global_shortcut::{Code, Modifiers, ShortcutState};
|
use tauri_plugin_global_shortcut::{Code, Modifiers, ShortcutState};
|
||||||
|
|
||||||
app.handle().plugin(
|
app.handle().plugin(
|
||||||
|
|||||||
Reference in New Issue
Block a user