For testing purposes

This commit is contained in:
M66B 2019-10-01 18:53:34 +02:00
parent 5402950142
commit a1cc3c8bbf
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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())