Simplification

pull/152/head
M66B 6 years ago
parent b754e8999f
commit 440ac177c8

@ -236,9 +236,7 @@ abstract class ActivityBilling extends ActivityBase implements PurchasesUpdatedL
if (purchases != null) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
SharedPreferences.Editor editor = prefs.edit();
if (prefs.getBoolean("play_store", true))
editor.remove("pro");
editor.remove("pro");
for (Purchase purchase : purchases)
try {

@ -39,11 +39,6 @@ public class ActivityMain extends AppCompatActivity implements FragmentManager.O
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
prefs.registerOnSharedPreferenceChangeListener(this);
if (!Helper.isPlayStoreInstall(this)) {
Log.i("Third party install");
prefs.edit().putBoolean("play_store", false).apply();
}
if (prefs.getBoolean("eula", false)) {
super.onCreate(savedInstanceState);
new SimpleTask<List<EntityAccount>>() {

Loading…
Cancel
Save