From ec9a37254e493b07ffe5a0d4e5044f5d1cb6bd02 Mon Sep 17 00:00:00 2001 From: crc-32 Date: Mon, 6 Jan 2025 17:08:34 +0000 Subject: [PATCH] rename notif uuid prefix const --- .../shared/domain/notifications/NotificationActionHandler.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/shared/src/commonMain/kotlin/io/rebble/cobble/shared/domain/notifications/NotificationActionHandler.kt b/android/shared/src/commonMain/kotlin/io/rebble/cobble/shared/domain/notifications/NotificationActionHandler.kt index 671053be..dd46fb95 100644 --- a/android/shared/src/commonMain/kotlin/io/rebble/cobble/shared/domain/notifications/NotificationActionHandler.kt +++ b/android/shared/src/commonMain/kotlin/io/rebble/cobble/shared/domain/notifications/NotificationActionHandler.kt @@ -14,14 +14,14 @@ import org.koin.core.component.inject class NotificationActionHandler(scope: CoroutineScope): KoinComponent, CobbleHandler { companion object { - const val notificationUuidPrefix = "cafecafe" + const val NOTIFICATION_UUID_PREFIX = "cafecafe" } private val timelineActionManager: TimelineActionManager by inject() private val notificationActionExecutor: PlatformNotificationActionExecutor by inject() private val notificationActionFlow = timelineActionManager.actionFlow.filter { val (action, _) = it - action.itemID.get().toString().startsWith(notificationUuidPrefix) + action.itemID.get().toString().startsWith(NOTIFICATION_UUID_PREFIX) } init {