Add cancel button to reader chapters dialog
This commit is contained in:
parent
b0bcad861f
commit
01d6dbba86
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ class ReaderChapterDialog(private val activity: ReaderActivity) : ReaderChapterA
|
|||
dialog = MaterialDialog(activity)
|
||||
.title(R.string.chapters)
|
||||
.customView(view = binding.root)
|
||||
.negativeButton(android.R.string.cancel)
|
||||
.show {
|
||||
adapter = ReaderChapterAdapter(this@ReaderChapterDialog)
|
||||
binding.chapterRecycler.adapter = adapter
|
||||
|
|
|
|||
Loading…
Reference in a new issue