fix(sync): correct webhook listener Arc cloning

This commit is contained in:
pandadev 2025-02-14 17:52:55 +01:00
parent 1012ecb1e3
commit f1b745c289
No known key found for this signature in database
GPG key ID: C39629DACB8E762F

View file

@ -108,7 +108,7 @@ async fn main() {
let app_handle_clone = app_handle.clone();
tauri::async_runtime::spawn(async move {
let sync = clipboard_sync_clone.lock().await;
sync.listen_webhook(app_handle_clone, clipboard_sync_clone).await;
sync.listen_webhook(app_handle_clone, clipboard_sync_arc.clone()).await;
});
utils::commands::center_window_on_current_monitor(main_window.as_ref().unwrap());