mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-19 00:13:01 +08:00
fix build
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
6e61cfb381
commit
9ebfe7f9ce
@ -641,7 +641,7 @@ impl Client {
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
fn try_start_clipboard(_conf_tx: Option<ClientClipboardContext>) {
|
||||
fn try_start_clipboard(_ctx: Option<ClientClipboardContext>) {
|
||||
let mut clipboard_lock = TEXT_CLIPBOARD_STATE.lock().unwrap();
|
||||
if clipboard_lock.running {
|
||||
return;
|
||||
|
@ -935,7 +935,7 @@ impl<T: InvokeUiSession> Remote<T> {
|
||||
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(),
|
||||
|
Loading…
Reference in New Issue
Block a user