Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ fn queue_open_file(app: &tauri::AppHandle, path: String) {

/// Bring the existing window forward — a second launch should surface the app
/// the user already has open, not sit invisibly behind it.
///
/// Desktop only: `unminimize` sits in a `#[cfg(desktop)]` impl block, so leaving
/// this compiled on mobile breaks the iOS build even though nothing calls it
/// there (both call sites are already desktop-gated).
#[cfg(desktop)]
fn focus_main_window(app: &tauri::AppHandle) {
if let Some(window) = app.get_webview_window("main") {
let _ = window.unminimize();
Expand Down
Loading