Fix warnings

This commit is contained in:
Jeremy Soller 2024-01-11 11:40:22 -07:00
parent 3f09e17156
commit 2a679ab96f
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
3 changed files with 2 additions and 3 deletions

View file

@ -80,7 +80,7 @@ pub fn context_menu<'a>(config: &Config, entity: segmented_button::Entity) -> El
.into()
}
pub fn menu_bar<'a>(config: &Config) -> Element<'a, Message> {
pub fn menu_bar<'a>() -> Element<'a, Message> {
//TODO: port to libcosmic
let menu_root = |label| {
widget::button(widget::text(label))