Update demo

This commit is contained in:
2022-12-30 00:38:05 +08:00
parent 18c3c15c5c
commit bea96f8670

View File

@@ -66,9 +66,9 @@ class MainActivity : ModuleAppCompatActivity() {
moduleDemoYukiHookApiVersionText.text = "YukiHookAPI Version${YukiHookAPI.API_VERSION_NAME}(${YukiHookAPI.API_VERSION_CODE})"
moduleDemoYukiHookApiVersionZhText.text = "YukiHookAPI 版本"
moduleDemoNewXshareText.text =
if (YukiHookAPI.Status.isXposedEnvironment) "XSharedPreferences${modulePrefs.isXSharePrefsReadable}"
else "New XShare Mode${modulePrefs.isRunInNewXShareMode}"
moduleDemoNewXshareZhText.text = if (YukiHookAPI.Status.isXposedEnvironment) "XSharedPreferences 是否可用" else "New XShare 模式支持状态"
"${if (YukiHookAPI.Status.isXposedEnvironment) "XSharedPreferences Readable" else "New XSharedPreferences"}${modulePrefs.isPreferencesAvailable}"
moduleDemoNewXshareZhText.text =
if (YukiHookAPI.Status.isXposedEnvironment) "XSharedPreferences 是否可用" else "New XSharedPreferences 支持状态"
moduleDemoResHookText.text = "Support Resources Hook${YukiHookAPI.Status.isSupportResourcesHook}"
moduleDemoResHookZhText.text = "资源钩子支持状态"
moduleDemoComTimeStampText.text =