Use slider toggles for boolean controls

This commit is contained in:
Georg Bauer
2026-07-28 18:38:30 +02:00
parent 9cf1c70a67
commit 00af0335ff
5 changed files with 28 additions and 23 deletions

View File

@@ -59,7 +59,7 @@ impl App {
file_list = file_list.push(rule::horizontal(1)).push(
container(
row![
checkbox(selected).on_toggle({
toggle(selected).on_toggle({
let path = path.clone();
move |_| Message::ToggleGitFile(path.clone())
}),