From af68800f45357de52662f8144d09696c58c42c10 Mon Sep 17 00:00:00 2001 From: fufesou Date: Fri, 18 Nov 2022 18:46:00 +0800 Subject: [PATCH] remove redundant conditions Signed-off-by: fufesou --- src/client/io_loop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/io_loop.rs b/src/client/io_loop.rs index 86a9e2f2e..6ad4f96d6 100644 --- a/src/client/io_loop.rs +++ b/src/client/io_loop.rs @@ -1187,7 +1187,7 @@ impl Remote { #[cfg(windows)] fn handle_cliprdr_msg(&self, clip: hbb_common::message_proto::Cliprdr) { if !self.handler.lc.read().unwrap().disable_clipboard { - #[cfg(any(target_os = "android", target_os = "ios", feature = "flutter"))] + #[cfg(feature = "flutter")] if let Some(hbb_common::message_proto::cliprdr::Union::FormatList(_)) = &clip.union { if self.client_conn_id != clipboard::get_client_conn_id(&crate::flutter::get_cur_session_id())