This commit is contained in:
Horis
2025-04-21 11:23:16 +08:00
parent f8219e9900
commit 63ea275479
2 changed files with 5 additions and 2 deletions

View File

@@ -161,4 +161,4 @@ class OkHttpStreamFetcher(
}
}
}
}

View File

@@ -201,7 +201,10 @@ class CoverImageView @JvmOverloads constructor(
this.bitmapPath = path
this.name = name?.replace(AppPattern.bdRegex, "")?.trim()
this.author = author?.replace(AppPattern.bdRegex, "")?.trim()
defaultCover = true
if (!defaultCover) {
defaultCover = true
invalidate()
}
if (AppConfig.useDefaultCover) {
ImageLoader.load(context, BookCover.defaultDrawable)
.centerCrop()