diff --git a/src/main/java/com/nutomic/syncthingandroid/fragments/DeviceFragment.java b/src/main/java/com/nutomic/syncthingandroid/fragments/DeviceFragment.java index 0d3b3884..57bf8fcf 100644 --- a/src/main/java/com/nutomic/syncthingandroid/fragments/DeviceFragment.java +++ b/src/main/java/com/nutomic/syncthingandroid/fragments/DeviceFragment.java @@ -317,11 +317,6 @@ public class DeviceFragment extends Fragment implements .show(); return true; } - if (isEmpty(mDevice.name)) { - Toast.makeText(getActivity(), R.string.device_name_required, Toast.LENGTH_LONG) - .show(); - return true; - } mSyncthingService.getApi().editDevice(mDevice, getActivity(), this); getActivity().finish(); return true; diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 7d964449..19d86e23 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -190,9 +190,6 @@ The device ID must not be empty - - The device name must not be empty - Scan QR Code