Disable challenge/response for Play store installs

This commit is contained in:
M66B 2016-02-07 10:37:28 +01:00
parent 9532e33c2d
commit 898f6cd3c6
1 changed files with 3 additions and 1 deletions

View File

@ -265,6 +265,8 @@ public class ActivityPro extends AppCompatActivity {
tvTheme.setVisibility(IAB.isPurchased(SKU_THEME, this) ? View.VISIBLE : View.GONE);
tvAll.setVisibility(IAB.isPurchased(SKU_PRO1, this) ? View.VISIBLE : View.GONE);
llChallenge.setVisibility(IAB.isPurchased(SKU_DONATION, this) ? View.GONE : View.VISIBLE);
llChallenge.setVisibility(
IAB.isPurchased(SKU_DONATION, this) || !Util.isPlayStoreInstall(this)
? View.GONE : View.VISIBLE);
}
}