fix(widget): allow None for button text color to inherit from container
This commit is contained in:
parent
6acdba28aa
commit
b404497e76
5 changed files with 15 additions and 28 deletions
|
|
@ -168,7 +168,6 @@ impl<'a, Message: Clone + 'static> HeaderBar<'a, Message> {
|
|||
widget::icon::from_name(name)
|
||||
.size(size)
|
||||
.apply(widget::button::icon)
|
||||
.inherit_colors()
|
||||
.on_press(on_press)
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue