From 06aa609fb55821f417f221f07faaeb29f37f93a0 Mon Sep 17 00:00:00 2001 From: soxx Date: Sun, 23 Aug 2020 20:02:10 +0200 Subject: [PATCH] Update patch that unlocks pro version --- patches/10-pro.diff | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/patches/10-pro.diff b/patches/10-pro.diff index ce8d2df..c5ac23c 100644 --- a/patches/10-pro.diff +++ b/patches/10-pro.diff @@ -1,12 +1,13 @@ ---- app/src/main/java/eu/faircode/email/ActivityBilling.java 2020-04-11 09:27:44.000000000 +0000 -+++ app/src/main/java/eu/faircode/email/ActivityBilling.java 2020-04-11 09:27:44.000000000 +0000 -@@ -192,9 +192,7 @@ +--- app/src/play/java/eu/faircode/email/ActivityBilling.java 2020-08-15 10:33:56.000000000 +0000 ++++ app/src/play/java/eu/faircode/email/ActivityBilling.java 2020-08-15 10:33:56.000000000 +0000 +@@ -192,10 +192,7 @@ } static boolean isPro(Context context) { - if (BuildConfig.DEBUG && false) - return true; -- return PreferenceManager.getDefaultSharedPreferences(context).getBoolean("pro", false); +- return PreferenceManager.getDefaultSharedPreferences(context) +- .getBoolean("pro", false); + return true; }