diff options
author | ByteHamster <info@bytehamster.com> | 2022-11-30 19:48:29 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2022-11-30 19:55:45 +0100 |
commit | 63c5e2dc72d66edcad797aabed9c6f9c67756344 (patch) | |
tree | b6fe1ba007dfe1f26a59bd2f481d5ccf117b376d /app/src/main/java/de/danoeh/antennapod/dialog | |
parent | d5e80b089b716638aeb407f064d3a9c3f2766eab (diff) | |
download | AntennaPod-63c5e2dc72d66edcad797aabed9c6f9c67756344.zip |
Convert drawer settings to Material
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/dialog')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/DrawerPreferencesDialog.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/DrawerPreferencesDialog.java b/app/src/main/java/de/danoeh/antennapod/dialog/DrawerPreferencesDialog.java index e8cfe81f0..8f174f207 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/DrawerPreferencesDialog.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/DrawerPreferencesDialog.java @@ -1,7 +1,7 @@ package de.danoeh.antennapod.dialog; import android.content.Context; -import androidx.appcompat.app.AlertDialog; +import com.google.android.material.dialog.MaterialAlertDialogBuilder; import de.danoeh.antennapod.R; import de.danoeh.antennapod.storage.preferences.UserPreferences; import de.danoeh.antennapod.fragment.NavDrawerFragment; @@ -19,7 +19,7 @@ public class DrawerPreferencesDialog { checked[i] = true; } } - AlertDialog.Builder builder = new AlertDialog.Builder(context); + MaterialAlertDialogBuilder builder = new MaterialAlertDialogBuilder(context); builder.setTitle(R.string.drawer_preferences); builder.setMultiChoiceItems(navTitles, checked, (dialog, which, isChecked) -> { if (isChecked) { |