Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
Updater: 修复: 登出按钮使用错误的标题文本
Browse files Browse the repository at this point in the history
  • Loading branch information
YuKongA committed Jan 3, 2024
1 parent 018d41c commit 43329ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/menu/top_app_bar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<item
android:id="@+id/logout"
android:icon="@drawable/ic_logout"
android:title="@string/login"
android:title="@string/logout"
android:visible="false"
app:showAsAction="ifRoom" />
</menu>

0 comments on commit 43329ec

Please sign in to comment.