From e04061c4ef6ec3f661ada0a198c7006cd53599f0 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 13 Apr 2020 10:12:11 +0200 Subject: [PATCH] allow sending MMS without text --- .../simplemobiletools/smsmessenger/activities/ThreadActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt index 6441eca6..0c94d3ba 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/ThreadActivity.kt @@ -366,7 +366,7 @@ class ThreadActivity : SimpleActivity() { private fun sendMessage() { val msg = thread_type_message.value - if (msg.isEmpty()) { + if (msg.isEmpty() && attachmentUris.isEmpty()) { return }