Skip to content

Commit e3b7bf4

Browse files
Add annotation
1 parent f74402b commit e3b7bf4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/schabi/newpipe/util/image/CoilHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ object CoilHelper {
2525
fun loadBitmapBlocking(
2626
context: Context,
2727
url: String?,
28-
placeholderResId: Int = 0
28+
@DrawableRes placeholderResId: Int = 0
2929
): Bitmap? {
3030
val request = getImageRequest(context, url, placeholderResId).build()
3131
return context.imageLoader.executeBlocking(request).drawable?.toBitmapOrNull()

0 commit comments

Comments
 (0)