Skip to content

Commit

Permalink
Update SMSReceiver.kt
Browse files Browse the repository at this point in the history
Reformatted message.
  • Loading branch information
uwedisch authored Sep 28, 2024
1 parent 6221cbf commit 591f925
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down Expand Up @@ -97,4 +97,4 @@ class SMSReceiver : BroadcastReceiver() {
.build()
WorkManager.getInstance(context).enqueue(tgMsgTask)
}
}
}

0 comments on commit 591f925

Please sign in to comment.