Purchase instead of donate in free version

This commit is contained in:
Karim Abou Zeid 2017-09-30 13:04:36 +02:00
commit d75ed1d7d2
No known key found for this signature in database
GPG key ID: 948B11DC67FD9BAF

View file

@ -207,7 +207,11 @@ public class AboutActivity extends AbsBaseActivity implements View.OnClickListen
} else if (v == rateOnGooglePlay) {
openUrl(RATE_ON_GOOGLE_PLAY);
} else if (v == donate) {
DonationsDialog.create().show(getSupportFragmentManager(), "DONATION_DIALOG");
if (App.isProVersion()) {
DonationsDialog.create().show(getSupportFragmentManager(), "DONATION_DIALOG");
} else {
startActivity(new Intent(this, PurchaseActivity.class));
}
} else if (v == aidanFollestadGooglePlus) {
openUrl(AIDAN_FOLLESTAD_GOOGLE_PLUS);
} else if (v == aidanFollestadGitHub) {