chore: cargo fmt

This commit is contained in:
Ashley Wulber 2026-04-13 16:27:16 -04:00 committed by Jacob Kauffmann
parent e125ae0b58
commit 1d0e662365

View file

@ -652,7 +652,8 @@ impl CosmicAppList {
let on_active_workspace = self.active_workspaces.is_empty() let on_active_workspace = self.active_workspaces.is_empty()
|| toplevel_info.workspace.is_empty() || toplevel_info.workspace.is_empty()
|| self.active_workspaces || self
.active_workspaces
.iter() .iter()
.any(|workspace| toplevel_info.workspace.contains(workspace)); .any(|workspace| toplevel_info.workspace.contains(workspace));
@ -665,7 +666,10 @@ impl CosmicAppList {
.iter() .iter()
.find(|(_, info)| info.name.as_ref() == Some(&self.core.applet.output_name)) .find(|(_, info)| info.name.as_ref() == Some(&self.core.applet.output_name))
.map_or(true, |(active_output, _)| { .map_or(true, |(active_output, _)| {
toplevel_info.output.iter().any(|output| output == active_output) toplevel_info
.output
.iter()
.any(|output| output == active_output)
}); });
on_active_output && on_active_workspace on_active_output && on_active_workspace