fix 自由包的loading和充值漏掉的代码

This commit is contained in:
cyh 2025-04-16 11:08:45 +08:00
parent 73f81c0965
commit 5832e60bd3
2 changed files with 2 additions and 1 deletions

View File

@ -433,7 +433,7 @@ class MemberRechargeActivity: BaseActivity() {
rvRechargeList.adapter=rechargeListAdapter
rechargeListAdapter.setListener(object :VIPRechargeAdapter.VIPRechargeItemClickListener{
@SuppressLint("SetTextI18n")
override fun onItemClick(noteItem: Grade) {
override fun onItemClick(noteItem: Grade?) {
selectedGrade=noteItem
val amount = selectedGrade!!.amount?.toFloat()
if (amount != null) {

View File

@ -361,6 +361,7 @@ class SplashActivity : BaseActivity() {
} else {//非渠道自由包
val token = MMKV.defaultMMKV().decodeString(BZYConstants.MMKV_KEY_TOKEN)
ll_action.visibility = View.VISIBLE
rlPb.visibility = View.INVISIBLE
if (MMKV.defaultMMKV().decodeBool(BZYConstants.MMKV_KEY_IS_REGISTER, false)) {
if (token != null && token.isNotEmpty()) {
ll_action.visibility = View.GONE