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
|
|
@ -124,11 +124,6 @@ impl<'a, Message> Button<'a, Message> {
|
|||
self
|
||||
}
|
||||
|
||||
pub fn inherit_colors(mut self) -> Self {
|
||||
self.style = Style::IconInheritColors;
|
||||
self
|
||||
}
|
||||
|
||||
pub fn vertical(mut self, vertical: bool) -> Self {
|
||||
self.variant.vertical = vertical;
|
||||
self.style = Style::IconVertical;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue