From 40b6591bb02655da284f7bb1fe39fe3db6b0cb5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patric=20Karlstr=C3=B6m?= Date: Wed, 13 Jan 2021 15:34:58 +0100 Subject: [PATCH] Simplify code for readability --- .../java/io/lbry/browser/ui/publish/PublishFormFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/lbry/browser/ui/publish/PublishFormFragment.java b/app/src/main/java/io/lbry/browser/ui/publish/PublishFormFragment.java index 1fb2e846..0f08a1f7 100644 --- a/app/src/main/java/io/lbry/browser/ui/publish/PublishFormFragment.java +++ b/app/src/main/java/io/lbry/browser/ui/publish/PublishFormFragment.java @@ -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);