fix:修复房间设置-标签修改异常
This commit is contained in:
@@ -537,7 +537,9 @@ public class RoomSettingActivity extends BaseMvpActivity<IRoomSettingView, RoomS
|
||||
}
|
||||
List<String> labels = new ArrayList<>();
|
||||
for (RoomSettingTabInfo tabInfo : tabInfoList) {
|
||||
labels.add(tabInfo.getName());
|
||||
if (tabInfo.getName() != null) {
|
||||
labels.add(tabInfo.getName());
|
||||
}
|
||||
}
|
||||
new SelectLabelDialog(this, "房间标签", labels, roomInfo.getRoomTag(), (label, data, position) -> {
|
||||
mSelectTabInfo = tabInfoList.get(position);
|
||||
@@ -567,7 +569,9 @@ public class RoomSettingActivity extends BaseMvpActivity<IRoomSettingView, RoomS
|
||||
}
|
||||
List<String> labels = new ArrayList<>();
|
||||
for (SingleRoomSortInfo tabInfo : tabInfoList) {
|
||||
labels.add(tabInfo.getSortName());
|
||||
if (tabInfo.getSortName() != null) {
|
||||
labels.add(tabInfo.getSortName());
|
||||
}
|
||||
}
|
||||
new SelectLabelDialog(this, "房间分类", labels, roomInfo.getRoomTag(), (label, data, position) -> {
|
||||
singleRoomSortId = tabInfoList.get(position).getId();
|
||||
|
Reference in New Issue
Block a user