fix: resolve compile error by using correct app_handle variable for emit

This commit is contained in:
NimBold
2026-06-24 14:34:38 +03:30
parent d720308f30
commit 29193cca74
+1 -1
View File
@@ -2397,7 +2397,7 @@ async fn resume_download(
match status.as_str() {
"paused" => {
use tauri::Emitter;
let _ = state.emit(
let _ = app_handle.emit(
"download-state",
crate::ipc::DownloadStateEvent::new(&id, crate::ipc::DownloadStatus::Queued),
);