diff --git a/mobile/src/main/java/org/openhab/habdroid/core/NotificationHandlingReceiver.kt b/mobile/src/main/java/org/openhab/habdroid/core/NotificationHandlingReceiver.kt index 082df09701..6a1f373c53 100644 --- a/mobile/src/main/java/org/openhab/habdroid/core/NotificationHandlingReceiver.kt +++ b/mobile/src/main/java/org/openhab/habdroid/core/NotificationHandlingReceiver.kt @@ -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 {