chore linting

This commit is contained in:
zhom
2026-02-24 06:09:30 +04:00
parent 7e367325be
commit c1fb1e3c4b
2 changed files with 23 additions and 19 deletions
+4 -3
View File
@@ -1444,9 +1444,10 @@ pub fn run() {
])
.build(tauri::generate_context!())
.expect("error while building tauri application")
.run(|app_handle, event| {
if let tauri::RunEvent::Reopen { .. } = event {
if let Some(window) = app_handle.get_webview_window("main") {
.run(|_app_handle, _event| {
#[cfg(target_os = "macos")]
if let tauri::RunEvent::Reopen { .. } = _event {
if let Some(window) = _app_handle.get_webview_window("main") {
let _ = window.show();
let _ = window.set_focus();
let _ = window.unminimize();