fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
520e4e6d89
commit
64689c8fd7
@ -9,8 +9,10 @@ use crate::{
|
||||
ui_interface::{self, *},
|
||||
};
|
||||
use flutter_rust_bridge::{StreamSink, SyncReturn};
|
||||
#[cfg(feature = "plugin_framework")]
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
use hbb_common::allow_err;
|
||||
use hbb_common::{
|
||||
allow_err,
|
||||
config::{self, LocalConfig, PeerConfig, PeerInfoSerde, ONLINE},
|
||||
fs, log,
|
||||
message_proto::KeyboardMode,
|
||||
@ -1395,11 +1397,11 @@ pub fn send_url_scheme(_url: String) {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
pub fn plugin_event(id: String, event: Vec<u8>) {
|
||||
pub fn plugin_event(_id: String, _event: Vec<u8>) {
|
||||
#[cfg(feature = "plugin_framework")]
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
{
|
||||
allow_err!(crate::plugin::handle_ui_event(&id, &event));
|
||||
allow_err!(crate::plugin::handle_ui_event(&_id, &_event));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user