-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Get ready for Yazi v0.4's handling of mime types
Changes: - Create another function called is_archive_mime_type that removes the "x-" prefix from the mime type before checking against the list of archive mime types. - The hovered_item_is_archive function now uses the aforementioned function to check for the archive mime type. - Similarly, the is_archive_file function also now uses the aforementioned function to check for the archive mime type.
- Loading branch information
1 parent
1b9327d
commit b81c325
Showing
1 changed file
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters