Prechádzať zdrojové kódy

fix: 无法选择自定义聊天价格

wzq 1 rok pred
rodič
commit
cd98f04f92

+ 2 - 1
module/profile/src/main/java/com/adealink/weparty/profile/me/MeFragment.kt

@@ -23,6 +23,7 @@ import com.adealink.weparty.module.backpack.Backpack
 import com.adealink.weparty.module.profile.Profile
 import com.adealink.weparty.module.profile.ProfileModule
 import com.adealink.weparty.module.profile.data.Gender
+import com.adealink.weparty.module.profile.data.UserConfigType
 import com.adealink.weparty.module.profile.data.UserInfo
 import com.adealink.weparty.module.setting.Setting
 import com.adealink.weparty.module.skin.data.SkinColorStyle
@@ -212,7 +213,7 @@ class MeFragment : BaseFragment(R.layout.fragment_me) {
         MeTabStatEvent(CommonEventValue.Action.SHOW).apply {
             page to MeTabStatEvent.Page.ME_TAB
         }.send()
-        profileViewModel.getUidUserInfo(ProfileModule.getMyUid(), false)
+        profileViewModel.getUidUserInfo(ProfileModule.getMyUid(), false, setOf(UserConfigType.USER_CHARM_LEVEL))
             .observe(viewLifecycleOwner) {
                 updateWithUserInfo((it as? Rlt.Success)?.data)
             }