From 17f1bf62b15f6d01766a35ebd1116b9eb7aef801 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 14 Jul 2023 10:00:06 +0200 Subject: [PATCH] removing a redundant type definition --- .../smsmessenger/receivers/DirectReplyReceiver.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/DirectReplyReceiver.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/DirectReplyReceiver.kt index f9c1d845..d04aaee1 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/DirectReplyReceiver.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/receivers/DirectReplyReceiver.kt @@ -37,7 +37,7 @@ class DirectReplyReceiver : BroadcastReceiver() { } ensureBackgroundThread { - var messageId: Long = 0L + var messageId = 0L try { context.sendMessageCompat(body, listOf(address), subscriptionId, emptyList()) val message = context.getMessages(threadId, getImageResolutions = false, includeScheduledMessages = false, limit = 1).lastOrNull()