From 7582384d6e46eaaf4ac8b983fb5af8aa0f38ce11 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 18 Jan 2019 16:07:32 +0000 Subject: [PATCH] Small improvement --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 4876a98b13..8ffdbf6f45 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -1427,7 +1427,8 @@ public class FragmentMessages extends FragmentBase { @Override public void onResume() { super.onResume(); - grpSupport.setVisibility(Helper.isPro(getContext()) ? View.GONE : View.VISIBLE); + grpSupport.setVisibility(viewType == AdapterMessage.ViewType.THREAD || + Helper.isPro(getContext()) ? View.GONE : View.VISIBLE); ConnectivityManager cm = (ConnectivityManager) getContext().getSystemService(Context.CONNECTIVITY_SERVICE); NetworkRequest.Builder builder = new NetworkRequest.Builder();