This commit is contained in:
kunfei
2023-03-06 10:58:57 +08:00
parent 3d228c623a
commit ee2432f8cd
@@ -26,8 +26,10 @@ object IntentType {
} }
private val appIntentType: TypeInterface? by lazy { private val appIntentType: TypeInterface? by lazy {
kotlin.runCatching {
Class.forName("io.legado.app.help.AppIntentType") Class.forName("io.legado.app.help.AppIntentType")
.kotlin.objectInstance as? TypeInterface .kotlin.objectInstance as? TypeInterface
}.getOrNull()
} }
interface TypeInterface { interface TypeInterface {