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

This commit is contained in:
david 2021-08-03 08:56:43 -07:00 committed by GitHub
parent 84a0e04cbe
commit 6e0dbf639a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

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

View File

@ -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},