Compare commits

..

1 Commits

Author SHA1 Message Date
Alisher Axmedov
24da86b4d3
Merge fdde8102a7 into 611f9d76d5 2026-02-25 09:24:37 +08: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[