Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ public void onBindViewHolder(@NonNull final ViewHolder holder, int position) {
boolean localLoad = item.getRemote().getType() == RemoteItem.SAFW;
String mimeType = item.getMimeType();
if ((mimeType.startsWith("image/") || mimeType.startsWith("video/")) && item.getSize() <= sizeLimit) {
// Tint is applied across the board in the theme, so we want to disable it for thumbnails.
holder.fileIcon.setImageTintList(null);

RequestOptions glideOption = new RequestOptions()
.centerCrop()
.diskCacheStrategy(DiskCacheStrategy.ALL)
Expand Down