mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Refactoring
This commit is contained in:
@@ -101,7 +101,7 @@ abstract class ActivityBilling extends ActivityBase implements PurchasesUpdatedL
|
||||
|
||||
try {
|
||||
Intent intent = new Intent(Intent.ACTION_VIEW);
|
||||
intent.setData(Uri.parse(BuildConfig.PRO_FEATURES + "?challenge=" + getChallenge()));
|
||||
intent.setData(Uri.parse(BuildConfig.PRO_FEATURES_URI + "?challenge=" + getChallenge()));
|
||||
return intent;
|
||||
} catch (NoSuchAlgorithmException ex) {
|
||||
Log.e(ex);
|
||||
|
||||
@@ -806,7 +806,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
||||
private Intent getIntentInvite() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getString(R.string.title_try)).append("\n\n");
|
||||
sb.append(BuildConfig.INVITE_LINK).append("\n\n");
|
||||
sb.append(BuildConfig.INVITE_URI).append("\n\n");
|
||||
|
||||
Intent intent = new Intent(Intent.ACTION_SEND);
|
||||
intent.setType("text/plain");
|
||||
|
||||
@@ -53,7 +53,7 @@ public class FragmentPro extends FragmentBase implements SharedPreferences.OnSha
|
||||
btnPurchase = view.findViewById(R.id.btnPurchase);
|
||||
tvPrice = view.findViewById(R.id.tvPrice);
|
||||
|
||||
tvList.setText(Html.fromHtml("<a href=\"" + BuildConfig.PRO_FEATURES + "\">" + Html.escapeHtml(getString(R.string.title_pro_list)) + "</a>"));
|
||||
tvList.setText(Html.fromHtml("<a href=\"" + BuildConfig.PRO_FEATURES_URI + "\">" + Html.escapeHtml(getString(R.string.title_pro_list)) + "</a>"));
|
||||
tvList.setMovementMethod(LinkMovementMethod.getInstance());
|
||||
|
||||
btnPurchase.setOnClickListener(new View.OnClickListener() {
|
||||
|
||||
Reference in New Issue
Block a user