diff --git a/app/src/main/kotlin/top/yukonga/update/logic/utils/AppUtils.kt b/app/src/main/kotlin/top/yukonga/update/logic/utils/AppUtils.kt index 08b52ee7..c87ef7eb 100644 --- a/app/src/main/kotlin/top/yukonga/update/logic/utils/AppUtils.kt +++ b/app/src/main/kotlin/top/yukonga/update/logic/utils/AppUtils.kt @@ -44,7 +44,7 @@ object AppUtils { if (!TextUtils.isEmpty(prop)) return prop prop = getPropByStream(name) if (!TextUtils.isEmpty(prop)) return prop - if (Build.VERSION.SDK_INT < 28) return getPropByReflect(name) + if (Build.VERSION.SDK_INT < Build.VERSION_CODES.P) return getPropByReflect(name) return prop } diff --git a/app/src/main/res/menu/top_app_bar.xml b/app/src/main/res/menu/top_app_bar.xml index 3bfec76c..f73b1bb0 100644 --- a/app/src/main/res/menu/top_app_bar.xml +++ b/app/src/main/res/menu/top_app_bar.xml @@ -9,7 +9,7 @@ \ No newline at end of file