1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2026-03-22 15:49:43 +00:00

[DescriptionFragment] Fix thumbnail size: width x height

height x width was used before which is an uncommon order.
This commit is contained in:
TobiGr
2026-02-06 22:44:08 +01:00
committed by tobigr
parent 56a043669a
commit e6daf45c83

View File

@@ -216,9 +216,9 @@ public abstract class BaseDescriptionFragment extends BaseFragment {
|| image.getWidth() != Image.WIDTH_UNKNOWN
// if even the resolution level is unknown, ?x? will be shown
|| image.getEstimatedResolutionLevel() == Image.ResolutionLevel.UNKNOWN) {
urls.append(imageSizeToText(image.getHeight()));
urls.append('x');
urls.append(imageSizeToText(image.getWidth()));
urls.append('x');
urls.append(imageSizeToText(image.getHeight()));
} else {
switch (image.getEstimatedResolutionLevel()) {
case LOW -> urls.append(getString(R.string.image_quality_low));