From e7433fa3920af72352fb3e45c097f720e7e6e920 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Sat, 19 Mar 2016 21:59:53 +0100 Subject: [PATCH] Fix FolderFragment to show all devices. --- .../com/nutomic/syncthingandroid/fragments/FolderFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java b/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java index ffff1c30..2a4a0e6d 100644 --- a/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java +++ b/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java @@ -264,8 +264,8 @@ public class FolderFragment extends Fragment if (devicesList.isEmpty()) { addEmptyDeviceListView(); } else { + mDevicesContainer.removeAllViews(); for (RestApi.Device n : devicesList) { - mDevicesContainer.removeAllViews(); addDeviceViewAndSetListener(n, LayoutInflater.from(getActivity())); } }