add linting CI jobs
This commit is contained in:
parent
9974b2f99f
commit
aa2d9fe374
12 changed files with 98 additions and 68 deletions
|
|
@ -114,8 +114,7 @@ impl cosmic::Application for App {
|
|||
])
|
||||
}
|
||||
status_notifier_watcher::Event::Unregistered(name) => {
|
||||
if let Some((id, _)) =
|
||||
self.menus.iter().find(|(_id, menu)| menu.name() == &name)
|
||||
if let Some((id, _)) = self.menus.iter().find(|(_id, menu)| menu.name() == name)
|
||||
{
|
||||
let id = *id;
|
||||
self.menus.remove(&id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue