mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-26 22:31:16 +00:00
Don't duplicate devices in FoldersFragment (fixes #587).
This commit is contained in:
parent
1f9f359422
commit
0891109c42
1 changed files with 1 additions and 1 deletions
|
@ -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()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue