Wire skill level and accessibility settings to UI

This commit is contained in:
2026-03-06 15:28:02 +02:00
parent 135bbe80f8
commit 88ee177467
5 changed files with 10 additions and 5 deletions

View File

@@ -295,6 +295,7 @@ pub fn build_compress_page(state: &AppState) -> adw::NavigationPage {
let advanced_expander = adw::ExpanderRow::builder()
.title("Per-Format Quality")
.subtitle("Fine-tune quality for each format individually")
.expanded(state.detailed_mode)
.build();
let jpeg_row = adw::SpinRow::builder()

View File

@@ -145,6 +145,7 @@ pub fn build_convert_page(state: &AppState) -> adw::NavigationPage {
.title("Format Mapping")
.subtitle("Different input formats can convert to different outputs")
.show_enable_switch(false)
.expanded(state.detailed_mode)
.build();
let progressive_row = adw::SwitchRow::builder()

View File

@@ -372,6 +372,7 @@ pub fn build_resize_page(state: &AppState) -> adw::NavigationPage {
.title("Advanced Options")
.subtitle("Resize algorithm, DPI, upscale behavior")
.show_enable_switch(false)
.expanded(state.detailed_mode)
.build();
let upscale_row = adw::SwitchRow::builder()

View File

@@ -176,6 +176,7 @@ pub fn build_watermark_page(state: &AppState) -> adw::NavigationPage {
.title("Advanced Options")
.subtitle("Opacity, rotation, tiling, margin")
.show_enable_switch(false)
.expanded(state.detailed_mode)
.build();
let opacity_row = adw::SpinRow::builder()