Skip to content

Commit 328f416

Browse files
committed
ktlint
1 parent 16735a0 commit 328f416

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

atox/src/main/kotlin/ActionReceiver.kt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -138,19 +138,19 @@ class ActionReceiver : BroadcastReceiver() {
138138

139139
// show the call screen
140140
val pendingIntent = deepLinkToCall(context, pk)
141-
try { pendingIntent.send()
141+
try {
142+
pendingIntent.send()
142143
} catch (e: PendingIntent.CanceledException) {
143-
Log.e(TAG, "PendingIntent.CanceledException: ${e.toString()}}")
144+
Log.e(TAG, "PendingIntent.CanceledException: $e}")
144145
}
145146
}
146-
private fun deepLinkToCall(context: Context, publicKey: PublicKey) =
147-
NavDeepLinkBuilder(context)
148-
.setGraph(R.navigation.nav_graph)
149-
.setDestination(R.id.callFragment)
150-
.setArguments(
151-
bundleOf(
152-
CONTACT_PUBLIC_KEY to publicKey.string()
153-
),
154-
)
155-
.createPendingIntent()
147+
private fun deepLinkToCall(context: Context, publicKey: PublicKey) = NavDeepLinkBuilder(context)
148+
.setGraph(R.navigation.nav_graph)
149+
.setDestination(R.id.callFragment)
150+
.setArguments(
151+
bundleOf(
152+
CONTACT_PUBLIC_KEY to publicKey.string(),
153+
),
154+
)
155+
.createPendingIntent()
156156
}

0 commit comments

Comments
 (0)