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
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:
@@ -61,7 +61,7 @@ interface BaseSource : JsExtensions {
|
||||
fun getKey(): String
|
||||
|
||||
override fun getSource(): BaseSource? {
|
||||
return this
|
||||
return copy()
|
||||
}
|
||||
|
||||
fun loginUi(): List<RowUi>? {
|
||||
|
||||
@@ -814,7 +814,7 @@ class AnalyzeRule(
|
||||
}
|
||||
|
||||
override fun getSource(): BaseSource? {
|
||||
return source
|
||||
return source?.copy()
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -660,7 +660,7 @@ class AnalyzeUrl(
|
||||
}
|
||||
|
||||
override fun getSource(): BaseSource? {
|
||||
return source
|
||||
return source?.copy()
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user