Small improvement

pull/147/head
M66B 6 years ago
parent c560cbc71d
commit 7582384d6e

@ -1427,7 +1427,8 @@ public class FragmentMessages extends FragmentBase {
@Override @Override
public void onResume() { public void onResume() {
super.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); ConnectivityManager cm = (ConnectivityManager) getContext().getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkRequest.Builder builder = new NetworkRequest.Builder(); NetworkRequest.Builder builder = new NetworkRequest.Builder();

Loading…
Cancel
Save