mirror of
https://github.com/nimbold/Firelink.git
synced 2026-08-06 17:38:06 +00:00
fix: resolve compile error by using correct app_handle variable for emit
This commit is contained in:
@@ -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),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user