remove sciter keep cm open for file log

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages 2023-09-11 11:21:42 +08:00
parent a5dcac137f
commit e98aa81794

View File

@ -2278,7 +2278,7 @@ impl Connection {
lock_screen().await;
}
#[cfg(not(any(target_os = "android", target_os = "ios")))]
let data = if self.chat_unanswered || self.file_transferred {
let data = if self.chat_unanswered || self.file_transferred && cfg!(feature = "flutter") {
ipc::Data::Disconnected
} else {
ipc::Data::Close