mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-29 14:47:21 +02:00
Remove the size override in Glide
The override was not needed. It wasn't in the original code, so I'll remove it for consistency.
This commit is contained in:
@@ -19,7 +19,6 @@ suspend fun resolveUriAsBitmap(context: Context, uri: Uri): Bitmap? {
|
|||||||
Glide.with(context)
|
Glide.with(context)
|
||||||
.asBitmap()
|
.asBitmap()
|
||||||
.load(uri)
|
.load(uri)
|
||||||
.override(512, 512)
|
|
||||||
.placeholder(R.drawable.icon)
|
.placeholder(R.drawable.icon)
|
||||||
.error(R.drawable.icon)
|
.error(R.drawable.icon)
|
||||||
.submit()
|
.submit()
|
||||||
|
|||||||
Reference in New Issue
Block a user