优化
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

This commit is contained in:
Horis
2025-05-16 22:10:29 +08:00
parent 911890e921
commit bf5b0d7c9e
4 changed files with 4 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ interface BaseSource : JsExtensions {
fun getKey(): String
override fun getSource(): BaseSource? {
return this
return copy()
}
fun loginUi(): List<RowUi>? {

View File

@@ -814,7 +814,7 @@ class AnalyzeRule(
}
override fun getSource(): BaseSource? {
return source
return source?.copy()
}
/**

View File

@@ -660,7 +660,7 @@ class AnalyzeUrl(
}
override fun getSource(): BaseSource? {
return source
return source?.copy()
}
companion object {

View File

@@ -10,7 +10,7 @@ import io.legado.app.utils.showDialogFragment
class RssJsExtensions(private val activity: ReadRssActivity) : JsExtensions {
override fun getSource(): BaseSource? {
return activity.getSource()
return activity.getSource()?.copy()
}
fun searchBook(key: String) {