判断用户家族为空的方式更改
This commit is contained in:
@@ -199,7 +199,8 @@ public class ModuleHallActivity extends BaseMvpActivity<IModuleHallView, ModuleH
|
||||
private void initClanAndHall() {
|
||||
//没有家族才更新顶部公会名,有的话重新加载公会列表
|
||||
HallDataManager.get().registerName(this, hallName -> {
|
||||
if (clanInfo == null) {
|
||||
if (TextUtils.isEmpty(hallName)) return;
|
||||
if (clanInfo == null || clanInfo.getId() == 0) {
|
||||
tvTitle.setText(hallName);
|
||||
} else {
|
||||
loadHallList();
|
||||
|
@@ -288,8 +288,9 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="@dimen/dp_10"
|
||||
android:layout_weight="1"
|
||||
android:paddingStart="7dp"
|
||||
android:paddingStart="15dp"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingEnd="14dp"
|
||||
android:text="总人数:0人"
|
||||
android:textColor="@color/color_333333"
|
||||
|
Reference in New Issue
Block a user