diff options
author | Vishnu Sanal T <50027064+VishnuSanal@users.noreply.github.com> | 2022-12-30 21:51:20 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-30 17:21:20 +0100 |
commit | 97889a46ed2f9e6e5fc6144b84f1c2367d311a05 (patch) | |
tree | 285e09488f35b1a72cb81ce8f5da4f7be8754da7 /app/src/free/java | |
parent | ebfda200e0a74946a95d418b01b8fc38dda3f7cb (diff) | |
download | AntennaPod-97889a46ed2f9e6e5fc6144b84f1c2367d311a05.zip |
Prevent rating dialog from showing on debug variant (#6255)
Diffstat (limited to 'app/src/free/java')
-rw-r--r-- | app/src/free/java/de/danoeh/antennapod/dialog/RatingDialog.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/free/java/de/danoeh/antennapod/dialog/RatingDialog.java b/app/src/free/java/de/danoeh/antennapod/dialog/RatingDialog.java index 3973a538d..e7951626e 100644 --- a/app/src/free/java/de/danoeh/antennapod/dialog/RatingDialog.java +++ b/app/src/free/java/de/danoeh/antennapod/dialog/RatingDialog.java @@ -12,6 +12,8 @@ import java.util.concurrent.TimeUnit; import androidx.appcompat.app.AlertDialog; import com.google.android.material.dialog.MaterialAlertDialogBuilder; + +import de.danoeh.antennapod.BuildConfig; import de.danoeh.antennapod.R; import de.danoeh.antennapod.core.util.IntentUtils; @@ -85,7 +87,7 @@ public class RatingDialog { } private static boolean shouldShow() { - if (rated()) { + if (rated() || BuildConfig.DEBUG) { return false; } |