mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-12 01:51:58 +01:00
fixed settings
This commit is contained in:
parent
1af8daba7a
commit
e1d2ba32da
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user