fix(segmented_button): set icon to symbolic

This commit is contained in:
Michael Aaron Murphy 2025-12-05 17:18:26 +01:00
parent 6793950bbc
commit cdf4eafc9e
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -1935,6 +1935,7 @@ where
match crate::widget::common::object_select().data() {
crate::iced_core::svg::Data::Bytes(bytes) => {
crate::widget::icon::from_svg_bytes(bytes.as_ref())
.symbolic(true)
}
crate::iced_core::svg::Data::Path(path) => {
crate::widget::icon::from_path(path.clone())