We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b4b461 commit a661ff2Copy full SHA for a661ff2
Application/src/main/java/com/bihe0832/android/app/about/AboutFragment.kt
@@ -57,12 +57,12 @@ open class AboutFragment : CommonListFragment() {
57
open fun updateRedPoint(cloud: UpdateDataFromCloud?) {
58
if (mDataList.size > 0) {
59
(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
- "当前已是最新版"
+ if(null != cloud && cloud.updateType > UpdateDataFromCloud.UPDATE_TYPE_HAS_NEW_JUMP){
+ mTipsText = "发现新版本"
+ mItemIsNew = true
+ }else{
+ mTipsText = ""
+ mItemIsNew = false
66
}
67
68
getAdapter().notifyDataSetChanged()
0 commit comments