From eca0eca88cfce4ba0d358b88887ff6bea6011a12 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 25 Mar 2021 07:33:14 +0100 Subject: [PATCH] Revert "Enable purchase button in pending state" This reverts commit cc4508e73b4d14688a5e11e2c3bab211d100665b. --- app/src/main/java/eu/faircode/email/FragmentPro.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentPro.java b/app/src/main/java/eu/faircode/email/FragmentPro.java index 9e2440a1f4..8ff7dfe35c 100644 --- a/app/src/main/java/eu/faircode/email/FragmentPro.java +++ b/app/src/main/java/eu/faircode/email/FragmentPro.java @@ -188,7 +188,7 @@ public class FragmentPro extends FragmentBase implements SharedPreferences.OnSha @Override public void onPurchasePending(String sku) { if (ActivityBilling.getSkuPro().equals(sku)) { - btnPurchase.setEnabled(true); + btnPurchase.setEnabled(false); tvPending.setVisibility(View.VISIBLE); } }