Add options to edit, delete, and send the message now

This commit is contained in:
Naveen 2022-10-04 01:10:20 +05:30
parent 5bfd4c5b3b
commit d6f71619cf
3 changed files with 55 additions and 13 deletions

View file

@ -609,6 +609,7 @@ fun Context.deleteMessage(id: Long, isMMS: Boolean) {
fun Context.deleteScheduledMessage(messageId: Long) {
try {
messagesDB.delete(messageId)
cancelScheduleSendPendingIntent(messageId)
} catch (e: Exception) {
showErrorToast(e)
}