From a27790ee7cad694a20f3194aab11a90a008452f8 Mon Sep 17 00:00:00 2001 From: Naveen Date: Tue, 28 Feb 2023 14:02:53 +0530 Subject: [PATCH] Always refresh thread to reflect sending failure --- .../smsmessenger/receivers/MmsSentReceiver.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/MmsSentReceiver.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/MmsSentReceiver.kt index d9ea5b18..7dc8e938 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/MmsSentReceiver.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/MmsSentReceiver.kt @@ -42,9 +42,7 @@ class MmsSentReceiver : SendStatusReceiver() { } override fun updateAppDatabase(context: Context, intent: Intent, receiverResultCode: Int) { - if (resultCode == Activity.RESULT_OK) { - refreshMessages() - } + refreshMessages() } companion object {