mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 02:17:43 +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 (!file.isFolder()) {
|
||||||
if ((MimeTypeUtil.isImage(file) || MimeTypeUtil.isVideo(file)) && file.getRemoteId() != null) {
|
if ((MimeTypeUtil.isImage(file) || MimeTypeUtil.isVideo(file)) && file.getRemoteId() != null) {
|
||||||
// Thumbnail in Cache?
|
// Thumbnail in Cache?
|
||||||
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(
|
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(file.getRemoteId());
|
||||||
String.valueOf(file.getRemoteId())
|
|
||||||
);
|
|
||||||
if (thumbnail != null && !file.needsUpdateThumbnail()) {
|
if (thumbnail != null && !file.needsUpdateThumbnail()) {
|
||||||
|
|
||||||
if (MimeTypeUtil.isVideo(file)) {
|
if (MimeTypeUtil.isVideo(file)) {
|
||||||
|
|
Loading…
Reference in a new issue