fixed settings

This commit is contained in:
dakhnod 2019-07-25 12:00:50 +02:00
parent 1af8daba7a
commit e1d2ba32da

View File

@ -498,11 +498,7 @@ public class GBDevice implements Parcelable {
public List<ItemWithDetails> getDeviceInfos() { public List<ItemWithDetails> getDeviceInfos() {
List<ItemWithDetails> result = new ArrayList<>(); List<ItemWithDetails> result = new ArrayList<>();
if (mDeviceInfos != null) { if (mDeviceInfos != null) {
for (ItemWithDetails deviceInfo : mDeviceInfos){ result.addAll(mDeviceInfos);
GenericItem item = new GenericItem(deviceInfo.getName() + ": ", deviceInfo.getDetails());
item.setIcon(deviceInfo.getIcon());
result.add(item);
}
} }
if (mModel != null) { if (mModel != null) {
result.add(new GenericItem(DEVINFO_HW_VER, mModel)); result.add(new GenericItem(DEVINFO_HW_VER, mModel));