fix: hide apps without declared mimetype support
This commit is contained in:
parent
1d88fd16d6
commit
c6c9eac97e
1 changed files with 3 additions and 1 deletions
|
|
@ -272,7 +272,9 @@ impl MimeAppCache {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
is_default: Arc::new(AtomicBool::new(false)),
|
is_default: Arc::new(AtomicBool::new(false)),
|
||||||
no_display: desktop_entry.no_display(),
|
no_display: desktop_entry
|
||||||
|
.mime_type()
|
||||||
|
.is_none_or(|supported| supported.is_empty()),
|
||||||
});
|
});
|
||||||
|
|
||||||
tracing::info!(target: "mime-apps", id = app.id, "detected desktop entry");
|
tracing::info!(target: "mime-apps", id = app.id, "detected desktop entry");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue