mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -560,6 +560,9 @@ object ReadBookConfig {
|
||||
}
|
||||
|
||||
fun curBgDrawable(width: Int, height: Int): Drawable {
|
||||
if (width == 0 || height == 0) {
|
||||
return ColorDrawable(appCtx.getCompatColor(R.color.background))
|
||||
}
|
||||
var bgDrawable: Drawable? = null
|
||||
val resources = appCtx.resources
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user