We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 091581c commit 61cfe87Copy full SHA for 61cfe87
plugins/src/desktop_entries/mod.rs
@@ -237,14 +237,11 @@ impl<W: AsyncWrite + Unpin> App<W> {
237
}
238
};
239
240
- let response = match context {
241
- 0 => PluginResponse::DesktopEntry {
242
- path: entry.path.clone(),
243
- gpu_preference,
244
- action_name: (is_cosmic && context >= gpu_len)
245
- .then(|| entry.actions[(context - gpu_len) as usize].clone()),
246
- },
247
- _ => 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()),
248
249
250
send(&mut self.tx, response).await;
0 commit comments