mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-04 08:05:10 +00:00
Show connected devices in pairingfragment because otherwise it's confusing
This commit is contained in:
@@ -120,7 +120,7 @@ public class PairingFragment extends Fragment implements PairingDeviceItem.Callb
|
|||||||
section.isSectionEmpty = false;
|
section.isSectionEmpty = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
section = new SectionItem(res.getString(R.string.category_connected_devices));
|
section = new SectionItem(res.getString(R.string.category_connected_devices));
|
||||||
section.isSectionEmpty = true;
|
section.isSectionEmpty = true;
|
||||||
items.add(section);
|
items.add(section);
|
||||||
@@ -133,7 +133,7 @@ public class PairingFragment extends Fragment implements PairingDeviceItem.Callb
|
|||||||
if (section.isSectionEmpty) {
|
if (section.isSectionEmpty) {
|
||||||
items.remove(items.size() - 1); //Remove connected devices section if empty
|
items.remove(items.size() - 1); //Remove connected devices section if empty
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
section = new SectionItem(res.getString(R.string.category_remembered_devices));
|
section = new SectionItem(res.getString(R.string.category_remembered_devices));
|
||||||
section.isSectionEmpty = true;
|
section.isSectionEmpty = true;
|
||||||
items.add(section);
|
items.add(section);
|
||||||
|
Reference in New Issue
Block a user