From 53788570376919cf11a155c4eac08df96d972451 Mon Sep 17 00:00:00 2001 From: mueller-ma Date: Tue, 9 Jul 2024 21:09:28 +0200 Subject: [PATCH] Fix lint Signed-off-by: mueller-ma --- .../openhab/habdroid/core/NotificationHandlingReceiver.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 {