Remove raw SSD box type behavior wrapper
ober
4ca90650e63f08313b7ccb89d31a29016aa5fe1f
--- a/templates/ssd-review.ss +++ b/templates/ssd-review.ss @@ -10530,15 +10530,6 @@ " autoCompleteInstallDropdownOpeners(this)" " }" "" - " private fun wireBoxTypeDialogBehavior(" - " label: EditText," - " boxType: AutoCompleteTextView," - " firingArc: AutoCompleteTextView," - " initialBoxType: String = \"\"" - " ) {" - " autoCompleteInstallBoxTypeDialogBehavior(this, label, boxType, firingArc, initialBoxType)" - " }" - "" " private fun openPdf() {" " val remembered = getPreferences(MODE_PRIVATE).getString(PREF_SSD_PDF_TREE_URI, null)" " mainActivityOpenPdfAsync(this, remembered)" @@ -10707,7 +10698,7 @@ " layout.addView(boxType)" " layout.addView(firingArc)" " layout.addView(count)" - " wireBoxTypeDialogBehavior(label, boxType, firingArc)" + " autoCompleteInstallBoxTypeDialogBehavior(this, label, boxType, firingArc, \"\")" " val dialog = AlertDialog.Builder(this)" " .setTitle(detectedBoxesTitle(detectedIds.size))" " .setView(layout)" @@ -10774,7 +10765,7 @@ " layout.addView(boxType)" " layout.addView(firingArc)" " layout.addView(count)" - " wireBoxTypeDialogBehavior(label, boxType, firingArc, group.boxTypeId)" + " autoCompleteInstallBoxTypeDialogBehavior(this, label, boxType, firingArc, group.boxTypeId)" " val dialog = AlertDialog.Builder(this)" " .setTitle(editDialogTitle(group))" " .setView(layout)"