Hide support button and comments consistently with claim tags #1152

Merged
kekkyojin merged 2 commits from support-tags-ui-consistency into master 2021-02-26 19:31:11 +01:00
Showing only changes of commit 0b32b58365 - Show all commits

View file

@ -1498,7 +1498,7 @@ public class FileViewFragment extends BaseFragment implements
Helper.setViewVisibility(layoutNothingAtLocation, View.GONE); Helper.setViewVisibility(layoutNothingAtLocation, View.GONE);
if (claim.getTags().contains("disable-support") || claim.getSigningChannel().getTags().contains("disable-support")) if (claim.getTags().contains("disable-support") || claim.getSigningChannel().getTags().contains("disable-support"))
Helper.setViewVisibility(tipButton, View.INVISIBLE); Helper.setViewVisibility(tipButton, View.GONE);
else else
Helper.setViewVisibility(tipButton, View.VISIBLE); Helper.setViewVisibility(tipButton, View.VISIBLE);