Modify remove "endsWith" method's param name statement

This commit is contained in:
2023-01-14 00:12:55 +08:00
parent a8a01e8afa
commit a5448a2c61

View File

@@ -53,7 +53,7 @@ private fun Context.isQQNightMode() = runCatching {
paramCount = 1
}.get().string(MobileQQClass.toClass(classLoader)
.field { name = "sMobileQQ" }.ignored().get().current(ignored = true)?.field { name = "mAppRuntime" }?.any()
).let { it.endsWith(suffix = "1103") || it.endsWith(suffix = "2920") }
).let { it.endsWith("1103") || it.endsWith("2920") }
}.getOrNull() ?: false
/** 启动模块设置 [Activity] */