diff --git a/src/flutter_ffi.rs b/src/flutter_ffi.rs index f4197c679..f6611510b 100644 --- a/src/flutter_ffi.rs +++ b/src/flutter_ffi.rs @@ -1814,7 +1814,7 @@ pub fn main_support_remove_wallpaper() -> bool { } pub fn is_qs() -> SyncReturn { - SyncReturn(get_hard_option("connection-type") == "incoming"); + SyncReturn(get_hard_option("connection-type".to_owned()) == "incoming") } /// Send a url scheme throught the ipc.