mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-06-20 18:08:04 +00:00
Merge 335be449d2 into 80626ba4b5
This commit is contained in:
commit
4f004292bb
@ -33,8 +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 ?? 0).compareTo(b.width ?? 0));
|
||||
|
||||
return sortedImage != null && sortedImage.isNotEmpty
|
||||
? sortedImage[
|
||||
|
||||
Loading…
Reference in New Issue
Block a user