Simplify code for readability

This commit is contained in:
Patric Karlström 2021-01-13 15:34:58 +01:00
parent 49a3d157ee
commit 40b6591bb0

View file

@ -1171,7 +1171,7 @@ public class PublishFormFragment extends BaseFragment implements
Helper.setViewEnabled(inputTitle, true);
Helper.setViewEnabled(inputDescription, true);
Helper.setViewEnabled(inputTagFilter, false);
Helper.setViewEnabled(inputAddress, editMode ? false : true);
Helper.setViewEnabled(inputAddress, !editMode);
Helper.setViewEnabled(inputDeposit, true);
Helper.setViewEnabled(inputPrice, true);
Helper.setViewEnabled(inputOtherLicenseDescription, true);