mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 10:18:59 +03:00
fix again a null context
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
d094946b2d
commit
b5bed7874e
1 changed files with 2 additions and 1 deletions
|
@ -701,7 +701,8 @@ public class ThumbnailsCacheManager {
|
|||
if (MimeTypeUtil.isVideo(mFile)) {
|
||||
imageView.setImageBitmap(ThumbnailsCacheManager.mDefaultVideo);
|
||||
} else {
|
||||
imageView.setImageDrawable(MimeTypeUtil.getFileTypeIcon(null, mFile.getName(), null));
|
||||
imageView.setImageDrawable(MimeTypeUtil.getFileTypeIcon(null, mFile.getName(),
|
||||
mContext));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue