2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-09-03 23:55:08 +00:00

Show connected devices in pairingfragment because otherwise it's confusing

This commit is contained in:
Albert Vaca
2015-09-08 14:45:01 -07:00
parent 10d9ff5a5a
commit b0a96ace32

View File

@@ -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);