From ac98dc4ef9f67913a9986ef8e9509f34963c3ef2 Mon Sep 17 00:00:00 2001 From: Brummel Date: Mon, 4 May 2026 09:37:59 +0200 Subject: [PATCH] Refactor config path module imports Move `ProjectDirs` import to be consistent with other imports in the module and avoid potential ordering issues. --- clients/desktop/src/app.rs | 4 +++- clients/desktop/src/config_path.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/clients/desktop/src/app.rs b/clients/desktop/src/app.rs index f88d2cf..8763beb 100644 --- a/clients/desktop/src/app.rs +++ b/clients/desktop/src/app.rs @@ -18,7 +18,9 @@ use crate::case_update::{PutOnelinerError, put_oneliner}; use crate::footer_status::{FooterStatus, pick_footer_status}; use crate::server_sync::{ServerSync, SyncConfig, WorkerSnapshot, WorkerState}; use crate::snapshot_cache::SnapshotCache; -use crate::startup::{DEFAULT_MARKER_RETENTION, DEFAULT_ORPHAN_AUDIO_RETENTION, run_startup_cleanup}; +use crate::startup::{ + DEFAULT_MARKER_RETENTION, DEFAULT_ORPHAN_AUDIO_RETENTION, run_startup_cleanup, +}; use crate::upload::{PendingUpload, UploadEvent, write_sidecar}; use doctate_common::join_url; use doctate_common::oneliners::OnelinerState; diff --git a/clients/desktop/src/config_path.rs b/clients/desktop/src/config_path.rs index 48649c7..d866458 100644 --- a/clients/desktop/src/config_path.rs +++ b/clients/desktop/src/config_path.rs @@ -6,8 +6,8 @@ use std::path::PathBuf; -use directories::ProjectDirs; pub use crate::config::{Config, ConfigError}; +use directories::ProjectDirs; const CONFIG_FILENAME: &str = "client.toml";