Remove usages of incorrect platform yes/no strings

This commit is contained in:
arkon
2020-02-22 12:38:06 -05:00
parent 8bb83782c7
commit b06f1c81bc
7 changed files with 14 additions and 14 deletions
@@ -17,8 +17,8 @@ class DeleteChaptersDialog<T>(bundle: Bundle? = null) : DialogController(bundle)
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()
}
@@ -29,4 +29,4 @@ class DeleteChaptersDialog<T>(bundle: Bundle? = null) : DialogController(bundle)
fun deleteChapters()
}
}
}