Skip to content

Commit

Permalink
💄 update format
Browse files Browse the repository at this point in the history
  • Loading branch information
tw93 committed Mar 23, 2023
1 parent 3abf388 commit 200b951
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ fn main() -> wry::Result<()> {
Event::UserEvent(UserEvent::DownloadComplete(_, success)) => {
println!("Succeeded: {success}");
if success {
let _ = webview.evaluate_script("window.pakeToast('Downloaded to download folder~')");
let _ = webview
.evaluate_script("window.pakeToast('Downloaded to download folder~')");
} else {
println!("No output path")
}
Expand Down

0 comments on commit 200b951

Please sign in to comment.