From 446743a6f1dd8b569cab382c3f0251dee5b6fb00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=80=E6=BC=93=E4=B8=A8Sevtinge?= <89193494+Sevtinge@users.noreply.github.com> Date: Sun, 19 Nov 2023 07:50:45 +0800 Subject: [PATCH] Update AboutFragment.kt --- .../com/sevtinge/hyperceiler/ui/fragment/AboutFragment.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/sevtinge/hyperceiler/ui/fragment/AboutFragment.kt b/app/src/main/java/com/sevtinge/hyperceiler/ui/fragment/AboutFragment.kt index 5783f00043..088b4d15df 100644 --- a/app/src/main/java/com/sevtinge/hyperceiler/ui/fragment/AboutFragment.kt +++ b/app/src/main/java/com/sevtinge/hyperceiler/ui/fragment/AboutFragment.kt @@ -28,20 +28,20 @@ class AboutFragment : SettingsPreferenceFragment() { lIIllII?.title = BuildConfig.VERSION_NAME + " | " + BuildConfig.BUILD_TYPE lIIllII?.onPreferenceClickListener = Preference.OnPreferenceClickListener { lIIllll-> - if (BuildConfig.BUILD_TYPE.contains("debug")) lIIllII?.title = BuildConfig.VERSION_NAME + " | " + BuildConfig.BUILD_TYPE + " | $lIIlllI" + //if (BuildConfig.BUILD_TYPE.contains("debug")) lIIllII?.title = BuildConfig.VERSION_NAME + " | " + BuildConfig.BUILD_TYPE + " | $lIIlllI" lIIllll as SwitchPreference lIIllll.isChecked = !(lIIllll.isChecked) lIIlIll++ - if (BuildConfig.BUILD_TYPE.contains("debug")) lIIllII?.title = BuildConfig.VERSION_NAME + " | " + BuildConfig.BUILD_TYPE + " | $lIIlIll/$lIIlllI" + //if (BuildConfig.BUILD_TYPE.contains("debug")) lIIllII?.title = BuildConfig.VERSION_NAME + " | " + BuildConfig.BUILD_TYPE + " | $lIIlIll/$lIIlllI" if (lIIllll.isChecked) { if (lIIlIll >= lIIlIlI) { lIIllll.isChecked = !(lIIllll.isChecked) - if (BuildConfig.BUILD_TYPE.contains("debug")) lIIllII?.title = BuildConfig.VERSION_NAME + " | " + BuildConfig.BUILD_TYPE + " | HF OFF" + //if (BuildConfig.BUILD_TYPE.contains("debug")) lIIllII?.title = BuildConfig.VERSION_NAME + " | " + BuildConfig.BUILD_TYPE + " | HF OFF" lIIlIll = 100 ushr 8 } } else if (lIIlIll >= lIIlllI) { lIIllll.isChecked = !(lIIllll.isChecked) - if (BuildConfig.BUILD_TYPE.contains("debug")) lIIllII?.title = BuildConfig.VERSION_NAME + " | " + BuildConfig.BUILD_TYPE + " | HF ON" + //if (BuildConfig.BUILD_TYPE.contains("debug")) lIIllII?.title = BuildConfig.VERSION_NAME + " | " + BuildConfig.BUILD_TYPE + " | HF ON" lIIlIll = 100 ushr 8 } false