update libcosmic

This commit is contained in:
Ashley Wulber 2023-06-15 15:03:06 -04:00 committed by Ashley Wulber
parent 61d527a84c
commit 5a15ef8d7f
19 changed files with 124 additions and 146 deletions

View file

@ -8,7 +8,7 @@ license = "GPL-3.0-or-later"
once_cell = "1.16.0"
bluer = { version = "0.15", features = ["bluetoothd", "id"] }
futures-util = "0.3.21"
libcosmic = { git = "https://github.com/pop-os/libcosmic/", rev = "6699aa4", default-features = false, features = ["wayland", "tokio"] }
libcosmic = { git = "https://github.com/pop-os/libcosmic/", default-features = false, features = ["wayland", "tokio"] }
cosmic-applet = { path = "../applet" }
futures = "0.3"
log = "0.4"

View file

@ -281,11 +281,11 @@ impl Application for CosmicBluetoothApplet {
fn view(&self, id: window::Id) -> Element<Message> {
let button_style = || Button::Custom {
active: Box::new(|t| iced_style::button::Appearance {
border_radius: 0.0,
border_radius: 0.0.into(),
..t.active(&Button::Text)
}),
hover: Box::new(|t| iced_style::button::Appearance {
border_radius: 0.0,
border_radius: 0.0.into(),
..t.hovered(&Button::Text)
}),
};