diff options
author | ByteHamster <info@bytehamster.com> | 2022-08-06 15:52:04 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-09-18 19:12:38 +0200 |
commit | cbfa0181f48e601a18d87f9f699f48460dd61acd (patch) | |
tree | 10b54895243ff8f4d9fb19872502850731356fc7 /app/src/free/java | |
parent | ac8114342c4beb90745cfc5bd9235ca219a36b29 (diff) | |
download | AntennaPod-cbfa0181f48e601a18d87f9f699f48460dd61acd.zip |
Migrate dialogs to Material3
Diffstat (limited to 'app/src/free/java')
-rw-r--r-- | app/src/free/java/de/danoeh/antennapod/dialog/RatingDialog.java | 3 |
1 files changed, 2 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 255da6eaf..3973a538d 100644 --- a/app/src/free/java/de/danoeh/antennapod/dialog/RatingDialog.java +++ b/app/src/free/java/de/danoeh/antennapod/dialog/RatingDialog.java @@ -11,6 +11,7 @@ import java.lang.ref.WeakReference; import java.util.concurrent.TimeUnit; import androidx.appcompat.app.AlertDialog; +import com.google.android.material.dialog.MaterialAlertDialogBuilder; import de.danoeh.antennapod.R; import de.danoeh.antennapod.core.util.IntentUtils; @@ -101,7 +102,7 @@ public class RatingDialog { if (context == null) { return null; } - return new AlertDialog.Builder(context) + return new MaterialAlertDialogBuilder(context) .setTitle(R.string.rating_title) .setMessage(R.string.rating_message) .setPositiveButton(R.string.rating_now_label, (dialog, which) -> rateNow()) |