diff --git a/src/client.rs b/src/client.rs index f080eeacb..843befd4e 100644 --- a/src/client.rs +++ b/src/client.rs @@ -641,7 +641,7 @@ impl Client { } #[cfg(not(any(target_os = "android", target_os = "ios")))] - fn try_start_clipboard(_conf_tx: Option) { + fn try_start_clipboard(_ctx: Option) { let mut clipboard_lock = TEXT_CLIPBOARD_STATE.lock().unwrap(); if clipboard_lock.running { return; diff --git a/src/client/io_loop.rs b/src/client/io_loop.rs index d5143c0a8..eb2c96b06 100644 --- a/src/client/io_loop.rs +++ b/src/client/io_loop.rs @@ -935,7 +935,7 @@ impl Remote { Client::try_start_clipboard(None); #[cfg(not(feature = "flutter"))] #[cfg(not(any(target_os = "android", target_os = "ios")))] - Client::try_start_clipboard(Some(ClientClipboardContext { + Client::try_start_clipboard(Some(crate::client::ClientClipboardContext { cfg: permission_config.clone(), old: self.handler.old_clipboard.clone(), tx: sender.clone(),