feat(settings): global setting for icon theme

This commit is contained in:
Michael Aaron Murphy 2023-01-05 14:16:27 +01:00 committed by Michael Murphy
parent 043485c68d
commit 7d018a2139
8 changed files with 103 additions and 48 deletions

View file

@ -45,7 +45,7 @@ impl<T: 'static + Copy + Hash + ToString, Message: 'static> SpinButton<T, Messag
let Self { on_change, value } = self;
Element::from(iced_lazy::lazy(
value,
(value, crate::settings::default_icon_theme()),
move || -> Element<'static, SpinMessage> {
container(
row![