mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-03-22 00:24:16 +00:00
Compare commits
1 Commits
ec535ccdfc
...
6cfb869c69
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6cfb869c69 |
@ -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[
|
||||
|
||||
Loading…
Reference in New Issue
Block a user