mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-31 06:05:12 +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 = 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);
|
||||
|
Reference in New Issue
Block a user