diff options
| author | kangal-bot <kangal@herdr.dev> | 2026-05-27 15:09:31 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-27 15:09:31 +0300 |
| commit | 858c36974bad616e9e6c1897882b8c9a97396bec (patch) | |
| tree | 63a6b332599596708dc7a66cead14af474755fd2 /src/app/state.rs | |
| parent | 9a89e3dc181bdf35101c2066bea114394afb93e2 (diff) | |
feat: configure mobile width threshold (#317)
Diffstat (limited to 'src/app/state.rs')
| -rw-r--r-- | src/app/state.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/state.rs b/src/app/state.rs index de1db052..7c47973c 100644 --- a/src/app/state.rs +++ b/src/app/state.rs @@ -1119,6 +1119,7 @@ pub struct AppState { pub sidebar_width: u16, pub sidebar_min_width: u16, pub sidebar_max_width: u16, + pub mobile_width_threshold: u16, pub sidebar_width_source: SidebarWidthSource, pub sidebar_width_auto: bool, pub sidebar_collapsed: bool, @@ -1424,6 +1425,7 @@ impl AppState { sidebar_width: 26, sidebar_min_width: 18, sidebar_max_width: 36, + mobile_width_threshold: crate::config::DEFAULT_MOBILE_WIDTH_THRESHOLD, sidebar_width_source: SidebarWidthSource::ConfigDefault, sidebar_width_auto: false, sidebar_collapsed: false, |
