From f36f77214f27b8051c0994ddbcd36a2c691c0715 Mon Sep 17 00:00:00 2001 From: androidacy-user Date: Tue, 25 Apr 2023 16:10:48 -0400 Subject: [PATCH] (misc) small fix Signed-off-by: androidacy-user --- .../main/java/com/fox2code/mmm/settings/SettingsActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/fox2code/mmm/settings/SettingsActivity.java b/app/src/main/java/com/fox2code/mmm/settings/SettingsActivity.java index e8b91c6..e17095e 100644 --- a/app/src/main/java/com/fox2code/mmm/settings/SettingsActivity.java +++ b/app/src/main/java/com/fox2code/mmm/settings/SettingsActivity.java @@ -848,7 +848,7 @@ public class SettingsActivity extends FoxActivity implements LanguageActivity { }); LongClickablePreference pref_donate_fox = findPreference("pref_donate_fox"); - if (BuildConfig.FLAVOR.equals("play")) { + if (!BuildConfig.FLAVOR.equals("play")) { pref_donate_fox.setOnPreferenceClickListener(p -> { // open fox IntentHelper.openUrl(getFoxActivity(this), "https://paypal.me/fox2code"); @@ -867,7 +867,7 @@ public class SettingsActivity extends FoxActivity implements LanguageActivity { } // now handle pref_donate_androidacy LongClickablePreference pref_donate_androidacy = findPreference("pref_donate_androidacy"); - if (BuildConfig.FLAVOR.equals("play")) { + if (!BuildConfig.FLAVOR.equals("play")) { pref_donate_androidacy.setOnPreferenceClickListener(p -> { // copy FOX2CODE promo code to clipboard and toast user that they can use it for half off any subscription String toastText = requireContext().getString(R.string.promo_code_copied);