feat:移除个人主页-公会icon
This commit is contained in:
@@ -154,16 +154,6 @@ public class UserInfoActivity extends BaseBindingActivity<ActivityUserInfoBindin
|
||||
if (userId != AuthModel.get().getCurrentUid() && !VipHelper.isHideLookUser()) {
|
||||
UserModel.get().visitUserDetail(userId).subscribe();
|
||||
}
|
||||
viewModel.getHallData().observe(this, clanAndHallInfo -> {
|
||||
if (clanAndHallInfo != null && clanAndHallInfo.getClan() != null && clanAndHallInfo.getClan().getId() != 0) {
|
||||
mBinding.tvHallDesc.setVisibility(View.VISIBLE);
|
||||
mBinding.tvHallDesc.setOnClickListener(v -> {
|
||||
ModuleClanActivity.start(context, userId);
|
||||
});
|
||||
} else {
|
||||
mBinding.tvHallDesc.setVisibility(View.GONE);
|
||||
}
|
||||
});
|
||||
|
||||
if (userId != AuthModel.get().getCurrentUid()) {
|
||||
ViewGroup.MarginLayoutParams layoutParams = (ViewGroup.MarginLayoutParams) mBinding.viewPager.getLayoutParams();
|
||||
@@ -177,7 +167,6 @@ public class UserInfoActivity extends BaseBindingActivity<ActivityUserInfoBindin
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
viewModel.getUserInfoDetail();
|
||||
viewModel.getUserHallAndClan();
|
||||
viewModel.getUserSkillData(viewModel.getUserId());
|
||||
}
|
||||
|
||||
|
@@ -232,16 +232,6 @@
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_id">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatTextView
|
||||
android:id="@+id/tv_hall_desc"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginEnd="@dimen/dp_4"
|
||||
android:visibility="gone"
|
||||
app:drawableStartCompat="@drawable/ic_userinfo_hall"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/iv_user_level"
|
||||
android:layout_width="wrap_content"
|
||||
|
Reference in New Issue
Block a user