Skip to content

Commit

Permalink
Fix format rusty boyz
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Jul 14, 2024
1 parent d655c23 commit 220bd7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/desktop/src-tauri/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ use crate::{constants::*, Pinned};

#[tauri::command]
pub fn zoom_window(window: tauri::Window, scale_factor: f64) {
let window = window.get_window(MAIN_WINDOW_NAME).expect("can't find the main window");
let window = window
.get_window(MAIN_WINDOW_NAME)
.expect("can't find the main window");
let _ = window.with_webview(move |webview| {
#[cfg(target_os = "linux")]
{
Expand Down

0 comments on commit 220bd7e

Please sign in to comment.