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 47c1894 commit bcbe9ebCopy full SHA for bcbe9eb
app/src/main/java/fr/free/nrw/commons/media/MediaDetailFragment.java
@@ -228,6 +228,8 @@ public void onResume() {
228
}
229
media = detailProvider.getMediaAtPosition(index);
230
231
+ // the displayMediaDetails id executed inside a post runnable because it uses the width of
232
+ // the scrollView in order to update the aspect ratio of the SimpleDrawee image
233
scrollView.post(new Runnable() {
234
@Override
235
public void run() {
0 commit comments