We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fc684f commit 39e24b1Copy full SHA for 39e24b1
app/src/main/java/fr/free/nrw/commons/MediaWikiImageView.java
@@ -64,8 +64,10 @@ protected void onPostExecute(String result) {
64
}
65
if (TextUtils.isEmpty(result) && media.getLocalUri() != null) {
66
result = media.getLocalUri().toString();
67
+ } else {
68
+ // only cache meaningful thumbnails received from network.
69
+ CommonsApplication.getInstance().getThumbnailUrlCache().put(media.getFilename(), result);
70
- CommonsApplication.getInstance().getThumbnailUrlCache().put(media.getFilename(), result);
71
setImageUrl(result);
72
73
0 commit comments