Apply suggestions
This commit is contained in:
parent
76e26dca88
commit
486eff3eb3
7 changed files with 57 additions and 101 deletions
|
|
@ -408,7 +408,7 @@ impl cosmic::Application for CosmicNetworkApplet {
|
|||
let button_style = || Button::Custom {
|
||||
active: Box::new(|active, t| button::Appearance {
|
||||
border_radius: 0.0.into(),
|
||||
..t.active(active, &Button::Standard)
|
||||
..t.active(active, &Button::Text)
|
||||
}),
|
||||
disabled: Box::new(|t| button::Appearance {
|
||||
border_radius: 0.0.into(),
|
||||
|
|
@ -513,7 +513,7 @@ impl cosmic::Application for CosmicNetworkApplet {
|
|||
.align_items(Alignment::Center)
|
||||
.spacing(8)
|
||||
)
|
||||
.style(Button::Standard)
|
||||
.style(Button::Text)
|
||||
.padding([8, 24])
|
||||
.style(button_style())
|
||||
.on_press(Message::Disconnect(name.clone()))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue