Skip to content

Commit

Permalink
Refactor : Unused Material Dialog Import
Browse files Browse the repository at this point in the history
  • Loading branch information
neeldoshii authored and david-allison committed Mar 24, 2024
1 parent 83b4c81 commit 8a354d6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 ->
Expand Down

0 comments on commit 8a354d6

Please sign in to comment.