mirror of https://github.com/M66B/FairEmail.git
For testing purposes
This commit is contained in:
parent
5402950142
commit
a1cc3c8bbf
|
@ -2416,7 +2416,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
@Override
|
||||
public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
|
||||
if ("pro".equals(key)) {
|
||||
boolean pro = prefs.getBoolean(key, false);
|
||||
boolean pro = ActivityBilling.isPro(getContext());
|
||||
grpSupport.setVisibility(
|
||||
!pro && viewType == AdapterMessage.ViewType.UNIFIED
|
||||
? View.VISIBLE : View.GONE);
|
||||
|
|
|
@ -179,7 +179,7 @@ public class FragmentPro extends FragmentBase implements SharedPreferences.OnSha
|
|||
@Override
|
||||
public void onSharedPreferenceChanged(SharedPreferences prefs, String key) {
|
||||
if ("pro".equals(key)) {
|
||||
boolean pro = prefs.getBoolean(key, false);
|
||||
boolean pro = ActivityBilling.isPro(getContext());
|
||||
tvActivated.setVisibility(pro ? View.VISIBLE : View.GONE);
|
||||
|
||||
if (!Helper.isPlayStoreInstall())
|
||||
|
|
Loading…
Reference in New Issue