Pārlūkot izejas kodu

fix(core): Expose `ClipboardManager` and `GlobalShortcutManager` (#2263)

david 4 gadi atpakaļ
vecāks
revīzija
6e0dbf639a

+ 6 - 0
.changes/tauri-expose-shortcut-clipboard.md

@@ -0,0 +1,6 @@
+---
+"tauri": patch
+---
+
+Make `ClipboardManager` and `GlobalShortcutManager` public as they are exposed in the `AppHandle`.
+

+ 1 - 1
core/tauri/src/lib.rs

@@ -94,7 +94,7 @@ pub use {
       dpi::{LogicalPosition, LogicalSize, PhysicalPosition, PhysicalSize, Pixel, Position, Size},
       WindowEvent,
     },
-    Icon, RunIteration, Runtime, UserAttentionType,
+    ClipboardManager, GlobalShortcutManager, Icon, RunIteration, Runtime, UserAttentionType,
   },
   self::state::{State, StateManager},
   self::window::{Monitor, Window},