Add dialog title

This commit is contained in:
Naveen 2022-10-04 01:40:50 +05:30
parent e6fa492877
commit 338b559823
1 changed files with 1 additions and 1 deletions

View File

@ -1223,7 +1223,7 @@ class ThreadActivity : SimpleActivity() {
RadioItem(TYPE_SEND, getString(R.string.send_now)),
RadioItem(TYPE_DELETE, getString(R.string.delete))
)
RadioGroupDialog(this, items) {
RadioGroupDialog(activity = this, items = items, titleId = R.string.scheduled_message) {
when (it as Int) {
TYPE_DELETE -> cancelScheduledMessageAndRefresh(message.id)
TYPE_EDIT -> editScheduledMessage(message)