Compare commits

..

1 Commits

Author SHA1 Message Date
Marcelo Castellano
0bf6a0ab71
Merge 9baf58e333 into 611f9d76d5 2026-03-01 15:43:02 -06:00

View File

@ -33,7 +33,7 @@ extension SpotubeImageExtensions on List<SpotubeImageObject>? {
int index = 1,
required ImagePlaceholder placeholder,
}) {
final sortedImage = this?.sorted((a, b) => (a.width ?? 0).compareTo(b.width ?? 0));
final sortedImage = this?.sorted((a, b) => a.width!.compareTo(b.width!));
return sortedImage != null && sortedImage.isNotEmpty
? sortedImage[