fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
f7e2938e6b
commit
5c42b4a1e8
7 changed files with 25 additions and 21 deletions
|
|
@ -246,9 +246,9 @@ impl<T: InvokeUiSession> Session<T> {
|
|||
|
||||
#[cfg(all(feature = "flutter", feature = "plugin_framework"))]
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
pub fn send_plugin(&self, plugin: Plugin) {
|
||||
pub fn send_plugin_request(&self, request: PluginRequest) {
|
||||
let mut misc = Misc::new();
|
||||
misc.set_plugin(plugin);
|
||||
misc.set_plugin_request(request);
|
||||
let mut msg_out = Message::new();
|
||||
msg_out.set_misc(misc);
|
||||
self.send(Data::Message(msg_out));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue