mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 16:38:17 +00:00
plugin_framework, show remote toolbar widget
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
1 parent
eb96b0d451
commit
cbeebea7a5
10 files changed
+86
-49
No files matched your search
+2
-2
@@ -1573,12 +1573,12 @@ pub fn plugin_feature_is_enabled() -> SyncReturn<bool> {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn plugin_sync_ui() {
|
||||
pub fn plugin_sync_ui(_sync_to: String) {
|
||||
#[cfg(feature = "plugin_framework")]
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
{
|
||||
if plugin_feature_is_enabled().0 {
|
||||
crate::plugin::sync_ui();
|
||||
crate::plugin::sync_ui(_sync_to);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user