Find AlertDialog.Builder(this) constructions

Proprietary

android.app.AlertDialog.Builder does not pick up app-bar themes or Material styles. For consistent theming on AppCompat surfaces, use androidx.appcompat.app.AlertDialog.Builder (or MaterialAlertDialogBuilder for Material apps). Each match is worth a quick accessibility/theming review.

org.openrewrite.kotlin.android.FindAlertDialogBuilderConstructor$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.android.FindAlertDialogBuilderConstructor$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.