diff --git a/plugins/src/desktop_entries/mod.rs b/plugins/src/desktop_entries/mod.rs index 1363064..c21cc14 100644 --- a/plugins/src/desktop_entries/mod.rs +++ b/plugins/src/desktop_entries/mod.rs @@ -237,14 +237,11 @@ impl App { } }; - let response = match context { - 0 => PluginResponse::DesktopEntry { - path: entry.path.clone(), - gpu_preference, - action_name: (is_cosmic && context >= gpu_len) - .then(|| entry.actions[(context - gpu_len) as usize].clone()), - }, - _ => return, + let response = PluginResponse::DesktopEntry { + path: entry.path.clone(), + gpu_preference, + action_name: (is_cosmic && context >= gpu_len) + .then(|| entry.actions[(context - gpu_len) as usize].clone()), }; send(&mut self.tx, response).await;