Skip to content

Commit e8754c7

Browse files
committed
fix: curly brace syntax in YukiHookAPI
1 parent 04405c5 commit e8754c7

File tree

1 file changed

+2
-2
lines changed
  • yukihookapi-core/src/main/java/com/highcapable/yukihookapi

1 file changed

+2
-2
lines changed

yukihookapi-core/src/main/java/com/highcapable/yukihookapi/YukiHookAPI.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -460,13 +460,13 @@ object YukiHookAPI {
460460
*/
461461
fun encase(baseContext: Context?, vararg hooker: YukiBaseHooker) {
462462
isLoadedFromBaseContext = true
463-
if (HookApiCategoryHelper.hasAvailableHookApi)
463+
if (HookApiCategoryHelper.hasAvailableHookApi) {
464464
if (baseContext != null)
465465
if (hooker.isNotEmpty()) {
466466
printSplashInfo()
467467
hooker.forEach { it.assignInstance(packageParam = baseContext.createPackageParam()) }
468468
} else YLog.innerE("Failed to passing \"encase\" method because your hooker param is empty", isImplicit = true)
469-
else printNotFoundHookApiError()
469+
} else printNotFoundHookApiError()
470470
}
471471

472472
/** 输出欢迎信息调试日志 */

0 commit comments

Comments
 (0)