mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -161,4 +161,4 @@ class OkHttpStreamFetcher(
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user