fix(spin_button): compiler error on build without a11y

This commit is contained in:
Michael Aaron Murphy 2026-01-13 17:01:27 +01:00
parent f453db2425
commit f000433690
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -246,12 +246,14 @@ where
let decrement_button = make_button(
&spin_button,
"list-remove-symbolic",
#[cfg(feature = "a11y")]
[&spin_button.label, " decrease"].concat(),
decrement,
);
let increment_button = make_button(
&spin_button,
"list-add-symbolic",
#[cfg(feature = "a11y")]
[&spin_button.label, " increase"].concat(),
increment,
);