Add the documents extension for Apple file formats

This commit is contained in:
Alexis Bourget 2020-08-02 18:50:32 +02:00
parent 78ba0b8973
commit f872027cfe

View File

@ -67,9 +67,9 @@ impl FileExtensions {
fn is_document(&self, file: &File) -> bool { fn is_document(&self, file: &File) -> bool {
file.extension_is_one_of( &[ file.extension_is_one_of( &[
"djvu", "doc", "docx", "dvi", "eml", "eps", "fotd", "djvu", "doc", "docx", "dvi", "eml", "eps", "fotd", "key",
"odp", "odt", "pdf", "ppt", "pptx", "rtf", "keynote", "numbers", "odp", "odt", "pages", "pdf", "ppt",
"xls", "xlsx", "pptx", "rtf", "xls", "xlsx",
]) ])
} }