mirror of
https://github.com/nextcloud/android.git
synced 2024-11-24 06:05:42 +03:00
Fixed. The thumbnail of the just uploaded image is refreshed when it is not necessary
This commit is contained in:
parent
5fd7b7e29f
commit
e4c77cabcb
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ public class FileListListAdapter extends BaseAdapter implements ListAdapter {
|
||||||
}
|
}
|
||||||
|
|
||||||
// get Thumbnail if file is image
|
// get Thumbnail if file is image
|
||||||
if (file.isImage()){
|
if (file.isImage() && file.getRemoteId() != null){
|
||||||
// Thumbnail in Cache?
|
// Thumbnail in Cache?
|
||||||
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(
|
Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache(
|
||||||
String.valueOf(file.getRemoteId())
|
String.valueOf(file.getRemoteId())
|
||||||
|
|
Loading…
Reference in a new issue