优化
This commit is contained in:
@@ -7,7 +7,7 @@ object AppUpdate {
|
|||||||
|
|
||||||
val gitHubUpdate by lazy {
|
val gitHubUpdate by lazy {
|
||||||
kotlin.runCatching {
|
kotlin.runCatching {
|
||||||
Class.forName("io.legado.app.help.AppUpdateGitHub")
|
Class.forName("io.legado.app.help.update.AppUpdateGitHub")
|
||||||
.kotlin.objectInstance as AppUpdateInterface
|
.kotlin.objectInstance as AppUpdateInterface
|
||||||
}.getOrNull()
|
}.getOrNull()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user