This commit is contained in:
Horis committed 2025-05-17 21:47:00 +08:00
1 parent d16f0eb45f
commit 77cd1378da
1 file changed
+6
@@ -61,16 +61,20 @@ object SourceHelp {
}
fun deleteBookSourceParts(sources: List<BookSourcePart>) {
appDb.runInTransaction {
sources.forEach {
deleteBookSourceInternal(it.bookSourceUrl)
}
}
AppCacheManager.clearSourceVariables()
}
fun deleteBookSources(sources: List<BookSource>) {
appDb.runInTransaction {
sources.forEach {
deleteBookSourceInternal(it.bookSourceUrl)
}
}
AppCacheManager.clearSourceVariables()
}
@@ -86,9 +90,11 @@ object SourceHelp {
}
fun deleteRssSources(sources: List<RssSource>) {
appDb.runInTransaction {
sources.forEach {
deleteRssSourceInternal(it.sourceUrl)
}
}
AppCacheManager.clearSourceVariables()
}