refactor!(widget): rename segmented_selection to segmented_control to match Figma docs

This commit is contained in:
Michael Aaron Murphy 2024-02-26 16:20:24 +01:00 committed by Michael Murphy
parent 366a450977
commit bfc84c4759
6 changed files with 11 additions and 11 deletions

View file

@ -65,7 +65,7 @@ where
/ num as f32;
}
let segmented_selection = matches!(self.style, crate::theme::SegmentedButton::Selection);
let segmented_selection = matches!(self.style, crate::theme::SegmentedButton::Control);
Box::new(
self.model