添加混淆前

This commit is contained in:
2026-07-01 10:17:05 +08:00
parent ed034f152c
commit 5ac14912bb
3 changed files with 16 additions and 15 deletions

View File

@@ -28,9 +28,9 @@ android {
applicationId "com.abbidot.tracker" applicationId "com.abbidot.tracker"
minSdkVersion 23 minSdkVersion 23
targetSdkVersion 35 targetSdkVersion 35
versionCode 2213 versionCode 2214
// versionName "2.2.13" // versionName "2.2.14"
versionName "2.2.13-Beta1" versionName "2.2.14-Beta1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

View File

@@ -85,19 +85,19 @@ class ChoosePlanAdapter(
} }
getTextView(R.id.tv_choose_plan_item_power).let { getTextView(R.id.tv_choose_plan_item_power).let {
it.visibility = if (item.list.isNullOrEmpty()) View.GONE it.visibility = if (TextUtils.isEmpty(item.description)) View.GONE
else { else {
var str = getManyLanguageLimitDec(item.listTitleCode) // var str = getManyLanguageLimitDec(item.listTitleCode)
if (TextUtils.isEmpty(str)) { // if (TextUtils.isEmpty(str)) {
for (i in 0 until item.list!!.size) { // for (i in 0 until item.list!!.size) {
val packageDec = item.list!![i] // val packageDec = item.list!![i]
str += "${i + 1}.${packageDec.title}" // str += "${i + 1}.${packageDec.title}"
if (i != item.list!!.size - 1) { // if (i != item.list!!.size - 1) {
str += "\n" // str += "\n"
} // }
} // }
} // }
it.text = str it.text = item.description
View.VISIBLE View.VISIBLE
} }
} }

View File

@@ -28,5 +28,6 @@ data class PackageBean(
var bottomBgColor: String, var bottomBgColor: String,
var listTitleCode: Int, var listTitleCode: Int,
var planNameCode: Int, var planNameCode: Int,
var description: String,
var list: MutableList<PackageBenefitsBean>? var list: MutableList<PackageBenefitsBean>?
) : Parcelable ) : Parcelable