2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 21:55:10 +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 4c0bafa60f
commit 6d28726c3b

View File

@@ -120,7 +120,7 @@ public class PairingFragment extends Fragment implements PairingDeviceItem.Callb
section.isSectionEmpty = false;
}
}
/*
section = new SectionItem(res.getString(R.string.category_connected_devices));
section.isSectionEmpty = true;
items.add(section);
@@ -133,7 +133,7 @@ public class PairingFragment extends Fragment implements PairingDeviceItem.Callb
if (section.isSectionEmpty) {
items.remove(items.size() - 1); //Remove connected devices section if empty
}
*/
section = new SectionItem(res.getString(R.string.category_remembered_devices));
section.isSectionEmpty = true;
items.add(section);