fix: 修复闪退
This commit is contained in:
parent
7a8932c234
commit
4b3e3346bb
|
|
@ -83,7 +83,7 @@ data class Profile(
|
|||
@SerializedName("bg_pic")
|
||||
val bgPic: String,
|
||||
@SerializedName("birthday_info")
|
||||
val birthdayInfo: BirthdayInfo,
|
||||
val birthdayInfo: BirthdayInfo?,
|
||||
@SerializedName("bookmark_count")
|
||||
val bookmarkCount: String,
|
||||
@SerializedName("bookmark_new_count")
|
||||
|
|
@ -159,8 +159,6 @@ data class Profile(
|
|||
val newTshowIcon: List<Any>,
|
||||
@SerializedName("outer_id")
|
||||
val outerId: String,
|
||||
@SerializedName("parr_scores")
|
||||
val parrScores: ParrScores,
|
||||
@SerializedName("pay_member_info")
|
||||
val payMemberInfo: PayMemberInfo,
|
||||
val pendant: List<Any>,
|
||||
|
|
|
|||
|
|
@ -192,10 +192,10 @@ class MyInfoFragment : BaseFragment(), View.OnClickListener, CompoundButton.OnCh
|
|||
postNum = profile.user.postNum
|
||||
concernNum = profile.user.concernNum
|
||||
tbAge = profile.user.tbAge
|
||||
age = profile.user.birthdayInfo.age
|
||||
birthdayShowStatus = profile.user.birthdayInfo.birthdayShowStatus
|
||||
birthdayTime = profile.user.birthdayInfo.birthdayTime
|
||||
constellation = profile.user.birthdayInfo.constellation
|
||||
age = profile.user.birthdayInfo?.age
|
||||
birthdayShowStatus = profile.user.birthdayInfo?.birthdayShowStatus
|
||||
birthdayTime = profile.user.birthdayInfo?.birthdayTime
|
||||
constellation = profile.user.birthdayInfo?.constellation
|
||||
saveOrUpdate("uid = ?", uid)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue