Do not allow list icon sizes below 100%

This commit is contained in:
Jeremy Soller 2024-02-29 20:39:59 -07:00
parent bbf3c7ea4d
commit 7a96f51cbe
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -472,7 +472,7 @@ impl App {
widget::settings::item::builder(fl!("icon-size-list"))
.description(format!("{}%", list))
.control(
widget::slider(50..=500, list, move |list| {
widget::slider(100..=500, list, move |list| {
Message::TabConfig(TabConfig {
icon_sizes: IconSizes {
list: NonZeroU16::new(list).unwrap(),