fix build flutter

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-12-10 12:55:19 +08:00
parent 22155616e4
commit c2648b4871
2 changed files with 9 additions and 2 deletions

View File

@@ -130,8 +130,9 @@ pub fn start(args: &mut [String]) {
pass.clone(),
args.clone(),
);
let inner = handler.inner();
crate::keyboard::set_cur_session(inner);
#[cfg(not(feature = "flutter"))]
crate::keyboard::set_cur_session(handler.inner());
Box::new(handler)
});
page = "remote.html";