Skip to content

Commit a661ff2

Browse files
committed
静默不暴露
1 parent 8b4b461 commit a661ff2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Application/src/main/java/com/bihe0832/android/app/about/AboutFragment.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ open class AboutFragment : CommonListFragment() {
5757
open fun updateRedPoint(cloud: UpdateDataFromCloud?) {
5858
if (mDataList.size > 0) {
5959
(mDataList[0] as SettingsData).apply {
60-
mItemIsNew = null != cloud && cloud.updateType > UpdateDataFromCloud.UPDATE_TYPE_HAS_NEW_JUMP
61-
mShowGo = mItemIsNew
62-
mTipsText = if (mItemIsNew) {
63-
"发现新版本"
64-
} else {
65-
"当前已是最新版"
60+
if(null != cloud && cloud.updateType > UpdateDataFromCloud.UPDATE_TYPE_HAS_NEW_JUMP){
61+
mTipsText = "发现新版本"
62+
mItemIsNew = true
63+
}else{
64+
mTipsText = ""
65+
mItemIsNew = false
6666
}
6767
}
6868
getAdapter().notifyDataSetChanged()

0 commit comments

Comments
 (0)