fix(spin_button): compiler error on build without a11y
This commit is contained in:
parent
f453db2425
commit
f000433690
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue