diff --git a/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java b/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java index 76570c85..29933ec5 100644 --- a/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java +++ b/src/main/java/com/nutomic/syncthingandroid/fragments/FolderFragment.java @@ -99,7 +99,7 @@ public class FolderFragment extends Fragment mFolder.readOnly = isChecked; mFolderNeedsToUpdate = true; break; - case R.id.share_device_id: + case R.id.device_toggle: RestApi.Device device = (RestApi.Device) view.getTag(); if (isChecked) { mFolder.deviceIds.add(device.deviceID); diff --git a/src/main/res/layout/item_device_form.xml b/src/main/res/layout/item_device_form.xml index 444327f4..910808e9 100644 --- a/src/main/res/layout/item_device_form.xml +++ b/src/main/res/layout/item_device_form.xml @@ -2,6 +2,7 @@