From 85317285e93ad2d699cd740bd824bc558de06722 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Thu, 23 Mar 2023 23:07:47 +0800 Subject: [PATCH] :lipstick: update format --- src-tauri/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 2261e32..d9cee38 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -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") }