mirror of https://github.com/M66B/NetGuard.git
Refactoring
This commit is contained in:
parent
c7219afedd
commit
61eb1652e5
|
@ -122,8 +122,8 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
|||
|
||||
if (isChecked) {
|
||||
// Check if secondary user
|
||||
if (android.os.Process.myUid() / 100000 != 0 &&
|
||||
!IAB.isPurchased(ActivityPro.SKU_MULTI, ActivityMain.this)) {
|
||||
if (!IAB.isPurchased(ActivityPro.SKU_MULTI, ActivityMain.this))
|
||||
if (android.os.Process.myUid() / 100000 != 0) {
|
||||
prefs.edit().putBoolean("enabled", false).apply();
|
||||
startActivity(new Intent(ActivityMain.this, ActivityPro.class));
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue