Bind to the correct dialog view, fixed manga info edit crash
This commit is contained in:
parent
7cbd7bd419
commit
76de2d4447
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ class EditMangaDialog : DialogController {
|
|||
negativeButton(android.R.string.cancel)
|
||||
positiveButton(R.string.action_save) { onPositiveButtonClick() }
|
||||
}
|
||||
binding = EditMangaDialogBinding.bind(dialog.view)
|
||||
binding = EditMangaDialogBinding.bind(dialog.view.contentLayout.customView!!)
|
||||
onViewCreated()
|
||||
dialog.setOnShowListener {
|
||||
val dView = (it as? MaterialDialog)?.view
|
||||
|
|
|
|||
Loading…
Reference in a new issue