mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-01 08:15:37 +08:00
fix: curly brace syntax in YukiHookAPI
This commit is contained in:
@@ -460,13 +460,13 @@ object YukiHookAPI {
|
||||
*/
|
||||
fun encase(baseContext: Context?, vararg hooker: YukiBaseHooker) {
|
||||
isLoadedFromBaseContext = true
|
||||
if (HookApiCategoryHelper.hasAvailableHookApi)
|
||||
if (HookApiCategoryHelper.hasAvailableHookApi) {
|
||||
if (baseContext != null)
|
||||
if (hooker.isNotEmpty()) {
|
||||
printSplashInfo()
|
||||
hooker.forEach { it.assignInstance(packageParam = baseContext.createPackageParam()) }
|
||||
} else YLog.innerE("Failed to passing \"encase\" method because your hooker param is empty", isImplicit = true)
|
||||
else printNotFoundHookApiError()
|
||||
} else printNotFoundHookApiError()
|
||||
}
|
||||
|
||||
/** 输出欢迎信息调试日志 */
|
||||
|
Reference in New Issue
Block a user