1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-23 04:41:16 +00:00

Don't duplicate devices in FoldersFragment (fixes #587).

This commit is contained in:
Felix Ableitner 2016-03-19 18:32:43 +01:00
parent 1f9f359422
commit 0891109c42

View file

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