|
@@ -20,8 +20,8 @@ class ConfirmDeleteChaptersDialog<T>(bundle: Bundle? = null) : DialogController(
|
|
|
override fun onCreateDialog(savedViewState: Bundle?): Dialog {
|
|
|
return MaterialDialog.Builder(activity!!)
|
|
|
.content(R.string.confirm_delete_chapters)
|
|
|
- .positiveText(android.R.string.yes)
|
|
|
- .negativeText(android.R.string.no)
|
|
|
+ .positiveText(android.R.string.ok)
|
|
|
+ .negativeText(android.R.string.cancel)
|
|
|
.onPositive { _, _ ->
|
|
|
(targetController as? Listener)?.deleteChapters(chaptersToDelete)
|
|
|
}
|
|
@@ -31,4 +31,4 @@ class ConfirmDeleteChaptersDialog<T>(bundle: Bundle? = null) : DialogController(
|
|
|
interface Listener {
|
|
|
fun deleteChapters(chaptersToDelete: List<RecentChapterItem>)
|
|
|
}
|
|
|
-}
|
|
|
+}
|