mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-03-09 16:10:08 +01:00
set cache type to Source at gifs
This commit is contained in:
parent
fde83fdc5a
commit
26d7b50475
@ -244,7 +244,7 @@ class ItemsAdapter(val activity: SimpleActivity, var mItems: MutableList<FileDir
|
||||
return itemView
|
||||
}
|
||||
|
||||
private fun getCacheStrategy(item: FileDirItem) = if (File(item.path).isGif()) DiskCacheStrategy.NONE else DiskCacheStrategy.RESULT
|
||||
private fun getCacheStrategy(item: FileDirItem) = if (File(item.path).isGif()) DiskCacheStrategy.SOURCE else DiskCacheStrategy.RESULT
|
||||
|
||||
private fun getChildrenCnt(item: FileDirItem): String {
|
||||
val children = item.children
|
||||
|
Loading…
x
Reference in New Issue
Block a user