mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
fe97c57bd9
commit
9ff29e8bc8
@ -49,7 +49,7 @@ object BookCover {
|
||||
return
|
||||
}
|
||||
defaultDrawable = kotlin.runCatching {
|
||||
BitmapDrawable(appCtx.resources, BitmapUtils.decodeBitmap(path, 100, 150))
|
||||
BitmapDrawable(appCtx.resources, BitmapUtils.decodeBitmap(path, 600, 900))
|
||||
}.getOrDefault(appCtx.resources.getDrawable(R.drawable.image_cover_default, null))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user