mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-15 13:37:29 +01:00
Use Compose on BrowseSourceScreens (#7901)
This commit is contained in:
@@ -51,6 +51,12 @@ fun Manga.removeCovers(coverCache: CoverCache = Injekt.get()): Int {
|
||||
return coverCache.deleteFromCache(this, true)
|
||||
}
|
||||
|
||||
fun DomainManga.removeCovers(coverCache: CoverCache = Injekt.get()): DomainManga {
|
||||
if (isLocal()) return this
|
||||
coverCache.deleteFromCache(this, true)
|
||||
return copy(coverLastModified = Date().time)
|
||||
}
|
||||
|
||||
fun DomainManga.shouldDownloadNewChapters(dbCategories: List<Long>, preferences: PreferencesHelper): Boolean {
|
||||
if (!favorite) return false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user