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 f74402b commit e3b7bf4Copy full SHA for e3b7bf4
1 file changed
app/src/main/java/org/schabi/newpipe/util/image/CoilHelper.kt
@@ -25,7 +25,7 @@ object CoilHelper {
25
fun loadBitmapBlocking(
26
context: Context,
27
url: String?,
28
- placeholderResId: Int = 0
+ @DrawableRes placeholderResId: Int = 0
29
): Bitmap? {
30
val request = getImageRequest(context, url, placeholderResId).build()
31
return context.imageLoader.executeBlocking(request).drawable?.toBitmapOrNull()
0 commit comments