Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: mueller-ma <[email protected]>
  • Loading branch information
mueller-ma committed Jul 9, 2024
1 parent bd203c4 commit 5378857
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ class NotificationHandlingReceiver : BroadcastReceiver() {
}
}

fun createActionPendingIntent(context: Context, notificationId: Int, cna: CloudNotificationAction): PendingIntent {
fun createActionPendingIntent(
context: Context,
notificationId: Int,
cna: CloudNotificationAction
): PendingIntent {
return when (val cnaAction = cna.action) {
is CloudNotificationAction.Action.UiCommandAction -> {
val intent = Intent(context, MainActivity::class.java).apply {
Expand Down

0 comments on commit 5378857

Please sign in to comment.