Skip to content

Commit 761fe4f

Browse files
committed
[DescriptionFragment] Fix thumbnail size: width x height
height x width was used before which is an uncommon order.
1 parent c1ac2e9 commit 761fe4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/org/schabi/newpipe/fragments/detail/BaseDescriptionFragment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@ protected void addImagesMetadataItem(final LayoutInflater inflater,
216216
|| image.getWidth() != Image.WIDTH_UNKNOWN
217217
// if even the resolution level is unknown, ?x? will be shown
218218
|| image.getEstimatedResolutionLevel() == Image.ResolutionLevel.UNKNOWN) {
219-
urls.append(imageSizeToText(image.getHeight()));
220-
urls.append('x');
221219
urls.append(imageSizeToText(image.getWidth()));
220+
urls.append('x');
221+
urls.append(imageSizeToText(image.getHeight()));
222222
} else {
223223
switch (image.getEstimatedResolutionLevel()) {
224224
case LOW -> urls.append(getString(R.string.image_quality_low));

0 commit comments

Comments
 (0)