File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
commons/src/main/java/org/wikimedia/commons Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ public void run() {
182
182
183
183
if (response .getBitmap () != null ) {
184
184
setImageBitmap (response .getBitmap ());
185
- if (tryOriginal && mMedia instanceof Contribution && response .getBitmap ().getWidth () > mMedia .getWidth () || response .getBitmap ().getHeight () > mMedia .getHeight ()) {
185
+ if (tryOriginal && mMedia instanceof Contribution && ( response .getBitmap ().getWidth () > mMedia .getWidth () || response .getBitmap ().getHeight () > mMedia .getHeight () )) {
186
186
// If there is no width information for this image, save it. This speeds up image loading massively for smaller images
187
187
mMedia .setHeight (response .getBitmap ().getHeight ());
188
188
mMedia .setWidth (response .getBitmap ().getWidth ());
You can’t perform that action at this time.
0 commit comments