fix(button): icon style variant to inherit colors from container
This commit is contained in:
parent
2e11d62de5
commit
c2d62bad52
3 changed files with 13 additions and 3 deletions
|
|
@ -167,8 +167,8 @@ impl<'a, Message: Clone + 'static> HeaderBar<'a, Message> {
|
|||
let icon = |name, size, on_press| {
|
||||
widget::icon::from_name(name)
|
||||
.size(size)
|
||||
.handle()
|
||||
.apply(widget::button::icon)
|
||||
.inherit_colors()
|
||||
.on_press(on_press)
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue