diff --git a/app/src/main/java/xyz/zedler/patrick/grocy/form/FormDataMasterProductCatLocation.java b/app/src/main/java/xyz/zedler/patrick/grocy/form/FormDataMasterProductCatLocation.java index 079e5de60..b9680cbc0 100644 --- a/app/src/main/java/xyz/zedler/patrick/grocy/form/FormDataMasterProductCatLocation.java +++ b/app/src/main/java/xyz/zedler/patrick/grocy/form/FormDataMasterProductCatLocation.java @@ -135,8 +135,7 @@ public MutableLiveData getMoveOnOpenDisabledLive() { } public void disableMoveOnOpenIfNecessary() { - moveOnOpenDisabledLive.setValue(locationLive.getValue() == locationConsumeLive.getValue() - || locationConsumeLive.getValue() == null); + moveOnOpenDisabledLive.setValue(locationConsumeLive.getValue() == null); assert moveOnOpenDisabledLive.getValue() != null; if (moveOnOpenDisabledLive.getValue()) { moveOnOpenLive.setValue(false);