simplifying list generation for mime types, applying xdg-mime patch & cargo fmt

This commit is contained in:
ellieplayswow 2025-03-09 21:03:42 +00:00
parent e3226d8dc2
commit b288cd0581
4 changed files with 41 additions and 90 deletions

View file

@ -78,4 +78,4 @@ pub fn parent_mime_types(mime: &Mime) -> Option<Vec<Mime>> {
let mut mime_icon_cache = MIME_ICON_CACHE.lock().unwrap();
mime_icon_cache.shared_mime_info.get_parents_aliased(mime)
}
}