Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Sep 4, 2024
1 parent a20d8d1 commit f40d217
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/src/app_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub struct Settings {
pub feature_flags: FeatureFlags,
}

// create a default config
// create a default config
impl Default for Settings {
fn default() -> Self {
Settings {
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use serde_json::json;
use tauri::{image::Image, menu::Menu, AppHandle, Emitter, Manager, State, WebviewWindow, Wry};
use tauri_plugin_store::Store;

use crate::{constants::*, Pinned, AppSettings, TrayMenu};
use crate::{constants::*, AppSettings, Pinned, TrayMenu};

#[tauri::command]
pub fn zoom_window(window: tauri::Window, scale_factor: f64) {
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
extern crate objc;

mod app_handle;
mod commands;
mod app_settings;
mod commands;
mod constants;
mod tray;
mod window_custom;
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src-tauri/src/tray.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use anyhow::Result;
use tauri_plugin_window_state::{AppHandleExt, StateFlags};

use crate::{
commands, toggle_pin, Pinned, AppSettings, TrayMenu, MAIN_WINDOW_NAME, OVERLAYED,
commands, toggle_pin, AppSettings, Pinned, TrayMenu, MAIN_WINDOW_NAME, OVERLAYED,
SETTINGS_WINDOW_NAME, TRAY_OPEN_DEVTOOLS_MAIN, TRAY_OPEN_DEVTOOLS_SETTINGS, TRAY_QUIT,
TRAY_RELOAD, TRAY_SETTINGS, TRAY_SHOW_APP, TRAY_TOGGLE_PIN,
};
Expand Down

0 comments on commit f40d217

Please sign in to comment.