mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
Some checks failed
Test Build / prepare (push) Has been cancelled
Test Build / build (app, release) (push) Has been cancelled
Test Build / build (app, releaseA) (push) Has been cancelled
Test Build / prerelease (push) Has been cancelled
Test Build / lanzou (push) Has been cancelled
Test Build / test_Branch (push) Has been cancelled
Test Build / telegram (push) Has been cancelled
update fork / build (push) Has been cancelled
Update Cronet / build (push) Has been cancelled
Some checks failed
Test Build / prepare (push) Has been cancelled
Test Build / build (app, release) (push) Has been cancelled
Test Build / build (app, releaseA) (push) Has been cancelled
Test Build / prerelease (push) Has been cancelled
Test Build / lanzou (push) Has been cancelled
Test Build / test_Branch (push) Has been cancelled
Test Build / telegram (push) Has been cancelled
update fork / build (push) Has been cancelled
Update Cronet / build (push) Has been cancelled
This commit is contained in:
@@ -61,15 +61,19 @@ object SourceHelp {
|
||||
}
|
||||
|
||||
fun deleteBookSourceParts(sources: List<BookSourcePart>) {
|
||||
sources.forEach {
|
||||
deleteBookSourceInternal(it.bookSourceUrl)
|
||||
appDb.runInTransaction {
|
||||
sources.forEach {
|
||||
deleteBookSourceInternal(it.bookSourceUrl)
|
||||
}
|
||||
}
|
||||
AppCacheManager.clearSourceVariables()
|
||||
}
|
||||
|
||||
fun deleteBookSources(sources: List<BookSource>) {
|
||||
sources.forEach {
|
||||
deleteBookSourceInternal(it.bookSourceUrl)
|
||||
appDb.runInTransaction {
|
||||
sources.forEach {
|
||||
deleteBookSourceInternal(it.bookSourceUrl)
|
||||
}
|
||||
}
|
||||
AppCacheManager.clearSourceVariables()
|
||||
}
|
||||
@@ -86,8 +90,10 @@ object SourceHelp {
|
||||
}
|
||||
|
||||
fun deleteRssSources(sources: List<RssSource>) {
|
||||
sources.forEach {
|
||||
deleteRssSourceInternal(it.sourceUrl)
|
||||
appDb.runInTransaction {
|
||||
sources.forEach {
|
||||
deleteRssSourceInternal(it.sourceUrl)
|
||||
}
|
||||
}
|
||||
AppCacheManager.clearSourceVariables()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user