fix toggle clipboard dead lock

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-02-23 14:43:41 +08:00
parent 9f062b8bb6
commit 30840f9988
2 changed files with 8 additions and 7 deletions

View File

@@ -1241,11 +1241,6 @@ impl LoginConfigHandler {
if !name.contains("block-input") {
self.save_config(config);
}
#[cfg(feature = "flutter")]
#[cfg(not(any(target_os = "android", target_os = "ios")))]
if name == "disable-clipboard" {
crate::flutter::update_text_clipboard_required();
}
let mut misc = Misc::new();
misc.set_option(option);
let mut msg_out = Message::new();