mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-01-30 10:14:55 +01:00
properly handle Others mimetype files when needed
This commit is contained in:
parent
5b1d6ea32b
commit
a74315fc66
@ -238,6 +238,14 @@ class MimeTypesActivity : SimpleActivity(), ItemOperationsListener {
|
||||
fileDirItems.add(FileDirItem(path, name, false, 0, size, lastModified))
|
||||
}
|
||||
}
|
||||
OTHERS -> {
|
||||
if (mimetype != "image" && mimetype != "video" && mimetype != "audio" && mimetype != "text" &&
|
||||
!extraAudioMimeTypes.contains(fullMimetype) && !extraDocumentMimeTypes.contains(fullMimetype) &&
|
||||
!archiveMimeTypes.contains(fullMimetype)
|
||||
) {
|
||||
fileDirItems.add(FileDirItem(path, name, false, 0, size, lastModified))
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user