pref: 缩略图画质

This commit is contained in:
HuanCheng65 2023-07-24 22:56:52 +08:00
parent fad8571a4c
commit 7a72da2d64
No known key found for this signature in database
GPG Key ID: 5EC9DD60A32C7360
2 changed files with 2 additions and 6 deletions

View File

@ -92,8 +92,8 @@ private val ImmutableHolder<Media>.url: String
App.INSTANCE,
true,
get { originPic },
get { dynamicPic },
get { bigPic },
get { dynamicPic },
get { srcPic }
)

View File

@ -641,11 +641,7 @@ object ImageUtil {
if (needReverse(context)) {
urls.reverse()
}
for (url in urls) {
if (!url.isNullOrEmpty()) {
return url
}
}
return urls.firstOrNull { !it.isNullOrEmpty() } ?: originUrl
}
return originUrl
}