优化
This commit is contained in:
1 parent
fbfd3b6f8c
commit
a1c2d86c5c
1 file changed
+1
-1
@@ -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