We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f446a commit 289d22eCopy full SHA for 289d22e
1 file changed
app/src/main/java/org/schabi/newpipe/database/playlist/model/PlaylistRemoteEntity.kt
@@ -62,11 +62,7 @@ data class PlaylistRemoteEntity(
62
orderingName = playlistInfo.name,
63
url = playlistInfo.url,
64
thumbnailUrl = ImageStrategy.imageListToDbUrl(
65
- if (playlistInfo.thumbnails.isEmpty()) {
66
- playlistInfo.uploaderAvatars
67
- } else {
68
- playlistInfo.thumbnails
69
- }
+ playlistInfo.thumbnails.ifEmpty { playlistInfo.uploaderAvatars }
70
),
71
uploader = playlistInfo.uploaderName,
72
streamCount = playlistInfo.streamCount
0 commit comments