Add options to edit, delete, and send the message now
This commit is contained in:
parent
5bfd4c5b3b
commit
d6f71619cf
3 changed files with 55 additions and 13 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue