From acda5f7095fd8ccc2d6d86129d1e7f8cff2f5e4e Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期二, 01 四月 2025 11:46:50 +0800 Subject: [PATCH] add : git --- app/src/main/java/com/example/firstapp/ui/notifications/NotificationsFragment.kt | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/example/firstapp/ui/notifications/NotificationsFragment.kt b/app/src/main/java/com/example/firstapp/ui/notifications/NotificationsFragment.kt index 5f1ffe1..f87eb83 100644 --- a/app/src/main/java/com/example/firstapp/ui/notifications/NotificationsFragment.kt +++ b/app/src/main/java/com/example/firstapp/ui/notifications/NotificationsFragment.kt @@ -306,12 +306,13 @@ if (userInfo.isMember) { binding.ivVip.visibility = View.VISIBLE binding.cardVip.visibility = View.VISIBLE - binding.tvVipExpire.text = "${userInfo.memberOvertime} 到期" + binding.tvVipExpire.text = "${userInfo.memberOverDate} 到期" } else { //非会员信息 + binding.ivVip.visibility = View.GONE + binding.cardVip.visibility = View.VISIBLE binding.btnRenew.text = "立即开通" binding.linearVipContainer.setBackgroundColor(ContextCompat.getColor(requireContext(), R.color.gray)) - binding.cardVip.visibility = View.GONE } } } catch (e: Exception) { -- Gitblit v1.9.3