mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 10:47:28 +00:00
Small behavior improvement
This commit is contained in:
parent
a3123dcee3
commit
2715fd1d00
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue