mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 19:31:30 +00:00
Fix FolderFragment to show all devices.
This commit is contained in:
parent
e459cadeef
commit
e7433fa392
1 changed files with 1 additions and 1 deletions
|
@ -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()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue