fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
3afd9e1f46
commit
55633bd26b
@ -1397,9 +1397,9 @@ pub fn send_url_scheme(_url: String) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
#[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(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