Small behavior improvement

This commit is contained in:
M66B 2020-07-02 13:34:37 +02:00
parent a3123dcee3
commit 2715fd1d00
1 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,7 @@ public class FragmentPro extends FragmentBase implements SharedPreferences.OnSha
tvPending.setVisibility(View.GONE);
tvActivated.setVisibility(View.GONE);
tvInfo.setVisibility(View.GONE);
cbHide.setVisibility(View.GONE);
btnPurchase.setEnabled(!Helper.isPlayStoreInstall());
tvPrice.setText(null);
@ -208,6 +209,7 @@ public class FragmentPro extends FragmentBase implements SharedPreferences.OnSha
if ("pro".equals(key)) {
boolean pro = ActivityBilling.isPro(getContext());
tvActivated.setVisibility(pro ? View.VISIBLE : View.GONE);
tvInfo.setVisibility(pro ? View.GONE : View.VISIBLE);
cbHide.setVisibility(pro ? View.GONE : View.VISIBLE);
} else if ("banner_hidden".equals(key)) {
long banner_hidden = prefs.getLong("banner_hidden", 0);