trival changes

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-04-27 14:42:55 +08:00
parent 12ab0a433a
commit 226d200143
2 changed files with 8 additions and 12 deletions

View File

@@ -965,12 +965,10 @@ impl<T: InvokeUiSession> Remote<T> {
// on connection established client
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
#[cfg(not(any(target_os = "android", target_os = "ios")))]
{
crate::plugin::handle_listen_event(
crate::plugin::EVENT_ON_CONN_CLIENT.to_owned(),
self.handler.id.clone(),
)
}
crate::plugin::handle_listen_event(
crate::plugin::EVENT_ON_CONN_CLIENT.to_owned(),
self.handler.id.clone(),
)
}
if self.handler.is_file_transfer() {