From 8a354d6537f7fd5c138811cdea6b159baa3fe012 Mon Sep 17 00:00:00 2001 From: Neel Doshi Date: Sun, 24 Mar 2024 07:12:36 +0530 Subject: [PATCH] Refactor : Unused Material Dialog Import --- .../test/java/com/ichi2/anki/dialogs/CreateDeckDialogTest.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/AnkiDroid/src/test/java/com/ichi2/anki/dialogs/CreateDeckDialogTest.kt b/AnkiDroid/src/test/java/com/ichi2/anki/dialogs/CreateDeckDialogTest.kt index 472c5a058619..f9fbc699cc47 100644 --- a/AnkiDroid/src/test/java/com/ichi2/anki/dialogs/CreateDeckDialogTest.kt +++ b/AnkiDroid/src/test/java/com/ichi2/anki/dialogs/CreateDeckDialogTest.kt @@ -20,7 +20,6 @@ import androidx.appcompat.app.AlertDialog import androidx.core.content.edit import androidx.lifecycle.Lifecycle import androidx.test.core.app.ActivityScenario -import com.afollestad.materialdialogs.MaterialDialog import com.ichi2.anki.CollectionManager.withCol import com.ichi2.anki.DeckPicker import com.ichi2.anki.IntroductionActivity @@ -195,7 +194,7 @@ class CreateDeckDialogTest : RobolectricTest() { } /** - * Executes [callback] on the [MaterialDialog] created from [CreateDeckDialog] + * Executes [callback] on the [AlertDialog] created from [CreateDeckDialog] */ private fun testDialog(deckDialogType: DeckDialogType, parentId: DeckId? = null, callback: (AlertDialog.() -> Unit)) { activityScenario.onActivity { activity: DeckPicker ->