From 591f925c7d88d4544b06c65d91ac9a3afbf43a05 Mon Sep 17 00:00:00 2001 From: Uwe Disch Date: Sat, 28 Sep 2024 18:50:52 -0400 Subject: [PATCH] Update SMSReceiver.kt Reformatted message. --- .../life/hnj/sms2telegram/smshandler/SMSReceiver.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/life/hnj/sms2telegram/smshandler/SMSReceiver.kt b/app/src/main/java/life/hnj/sms2telegram/smshandler/SMSReceiver.kt index b89e4fc..36fda8b 100644 --- a/app/src/main/java/life/hnj/sms2telegram/smshandler/SMSReceiver.kt +++ b/app/src/main/java/life/hnj/sms2telegram/smshandler/SMSReceiver.kt @@ -55,11 +55,11 @@ class SMSReceiver : BroadcastReceiver() { for (entry in fromAddrToMsgBody) { // Build the message to show. val strMessage = """ - New SMS from ${entry.key} - to $phoneNum - - ${entry.value} - """.trimIndent() +SMS from ${entry.key} +to $phoneNum + +${entry.value} +""".trimIndent() Log.d(TAG, "onReceive: $strMessage") @@ -97,4 +97,4 @@ class SMSReceiver : BroadcastReceiver() { .build() WorkManager.getInstance(context).enqueue(tgMsgTask) } -} \ No newline at end of file +}