mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-03-22 00:24:16 +00:00
Compare commits
14 Commits
611f9d76d5
...
00daded8e5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
00daded8e5 | ||
|
|
f6734a0f9e | ||
|
|
826c8e4dd6 | ||
|
|
a8f70f201e | ||
|
|
b9c6c98e38 | ||
|
|
a65846d15e | ||
|
|
ba27dc70e4 | ||
|
|
723b6b1f38 | ||
|
|
464666c01a | ||
|
|
0e58cd0e99 | ||
|
|
d4f70f56e4 | ||
|
|
8c1337d1fc | ||
|
|
94e704087f | ||
|
|
8e287ab1e5 |
@ -33,7 +33,7 @@ extension SpotubeImageExtensions on List<SpotubeImageObject>? {
|
||||
int index = 1,
|
||||
required ImagePlaceholder placeholder,
|
||||
}) {
|
||||
final sortedImage = this?.sorted((a, b) => a.width!.compareTo(b.width!));
|
||||
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