mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-03-22 00:24:16 +00:00
Compare commits
No commits in common. "00daded8e502bea117e160f92c8d8ffc3a664ad4" and "611f9d76d5ac0416972a381a6bd9d03c51c608a1" have entirely different histories.
00daded8e5
...
611f9d76d5
@ -33,7 +33,7 @@ extension SpotubeImageExtensions on List<SpotubeImageObject>? {
|
|||||||
int index = 1,
|
int index = 1,
|
||||||
required ImagePlaceholder placeholder,
|
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
|
return sortedImage != null && sortedImage.isNotEmpty
|
||||||
? sortedImage[
|
? sortedImage[
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user