1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-24 11:51:30 +00:00

Fix FolderFragment to show all devices.

This commit is contained in:
Felix Ableitner 2016-03-19 21:59:53 +01:00
parent e459cadeef
commit e7433fa392

View file

@ -264,8 +264,8 @@ public class FolderFragment extends Fragment
if (devicesList.isEmpty()) { if (devicesList.isEmpty()) {
addEmptyDeviceListView(); addEmptyDeviceListView();
} else { } else {
mDevicesContainer.removeAllViews();
for (RestApi.Device n : devicesList) { for (RestApi.Device n : devicesList) {
mDevicesContainer.removeAllViews();
addDeviceViewAndSetListener(n, LayoutInflater.from(getActivity())); addDeviceViewAndSetListener(n, LayoutInflater.from(getActivity()));
} }
} }