fix 自由包的loading和充值漏掉的代码
This commit is contained in:
parent
73f81c0965
commit
5832e60bd3
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue