💄 update format

This commit is contained in:
Tw93
2023-03-23 23:07:47 +08:00
parent 6971d28c70
commit 85317285e9

View File

@@ -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")
}