mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
remove unnecessary valueOf call
This commit is contained in:
parent
e3f8a49f3f
commit
39ed78b5cc
1 changed files with 1 additions and 3 deletions
|
@ -300,9 +300,7 @@ public class FileListListAdapter extends BaseAdapter implements FilterableListAd
|
|||
if (!file.isFolder()) {
|
||||
if ((MimeTypeUtil.isImage(file) || MimeTypeUtil.isVideo(file)) && file.getRemoteId() != null) {
|
||||
// Thumbnail in Cache?
|
||||
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(
|
||||
String.valueOf(file.getRemoteId())
|
||||
);
|
||||
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(file.getRemoteId());
|
||||
if (thumbnail != null && !file.needsUpdateThumbnail()) {
|
||||
|
||||
if (MimeTypeUtil.isVideo(file)) {
|
||||
|
|
Loading…
Reference in a new issue