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(
|
let decrement_button = make_button(
|
||||||
&spin_button,
|
&spin_button,
|
||||||
"list-remove-symbolic",
|
"list-remove-symbolic",
|
||||||
|
#[cfg(feature = "a11y")]
|
||||||
[&spin_button.label, " decrease"].concat(),
|
[&spin_button.label, " decrease"].concat(),
|
||||||
decrement,
|
decrement,
|
||||||
);
|
);
|
||||||
let increment_button = make_button(
|
let increment_button = make_button(
|
||||||
&spin_button,
|
&spin_button,
|
||||||
"list-add-symbolic",
|
"list-add-symbolic",
|
||||||
|
#[cfg(feature = "a11y")]
|
||||||
[&spin_button.label, " increase"].concat(),
|
[&spin_button.label, " increase"].concat(),
|
||||||
increment,
|
increment,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue