Skip to content

Commit

Permalink
fix: webview maximize
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 committed Mar 23, 2024
1 parent 65fe268 commit a1a4277
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src-tauri/src/app/webview.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ async fn show_webview(url: Url, window: &Arc<Mutex<tauri::Window>>) -> Result<St
// Show and maximize the download view
download_view.show()
.context("Failed to show the download view")?;
download_view.maximize()
.context("Failed to maximize the download view")?;

// Wait for the download to finish
let download_link_cell = Arc::new(Mutex::new(None));
Expand Down

0 comments on commit a1a4277

Please sign in to comment.