From 67eaba085f7cacfaf869f530e45dddb109c98f30 Mon Sep 17 00:00:00 2001 From: tapframe <85391825+tapframe@users.noreply.github.com> Date: Sat, 4 Apr 2026 13:03:18 +0530 Subject: [PATCH] fix: update notification messages for clarity and consistency --- .../EpisodeReleaseNotificationsRepository.kt | 2 +- .../app/features/settings/NotificationsSettingsPage.kt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/notifications/EpisodeReleaseNotificationsRepository.kt b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/notifications/EpisodeReleaseNotificationsRepository.kt index b5fd682a..7d691a52 100644 --- a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/notifications/EpisodeReleaseNotificationsRepository.kt +++ b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/notifications/EpisodeReleaseNotificationsRepository.kt @@ -184,7 +184,7 @@ object EpisodeReleaseNotificationsRepository { val request = EpisodeReleaseNotificationRequest( requestId = "episode-release-test-${ProfileRepository.activeProfileId}-${TraktPlatformClock.nowEpochMs()}", notificationTitle = target.name, - notificationBody = "Test notification from Nuvio. Tap to open ${target.name}.", + notificationBody = "Preview episode release alert.", releaseDateIso = CurrentDateProvider.todayIsoDate(), deepLinkUrl = buildMetaDeepLinkUrl(type = target.type, id = target.id), backdropUrl = target.banner ?: target.poster, diff --git a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/settings/NotificationsSettingsPage.kt b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/settings/NotificationsSettingsPage.kt index e8777177..f2ef00c5 100644 --- a/composeApp/src/commonMain/kotlin/com/nuvio/app/features/settings/NotificationsSettingsPage.kt +++ b/composeApp/src/commonMain/kotlin/com/nuvio/app/features/settings/NotificationsSettingsPage.kt @@ -29,7 +29,7 @@ internal fun LazyListScope.notificationsSettingsContent( SettingsGroup(isTablet = isTablet) { SettingsSwitchRow( title = "Episode release alerts", - description = "Schedule local notifications when a new episode for a saved show becomes available. Tapping the alert opens that show's meta screen.", + description = "Schedule local notifications when a new episode for a saved show becomes available.", checked = uiState.isEnabled, enabled = !uiState.isLoading, isTablet = isTablet, @@ -74,15 +74,15 @@ private fun NotificationTestCard( verticalArrangement = Arrangement.spacedBy(6.dp), ) { Text( - text = "Dummy notification", + text = "Test notification", style = MaterialTheme.typography.titleMedium, color = MaterialTheme.colorScheme.onSurface, fontWeight = FontWeight.SemiBold, ) Text( text = uiState.testTargetTitle?.let { title -> - "Send a local test notification that deep-links into $title." - } ?: "Save a show to your library first so the test notification has a real meta-screen target.", + "Send a local test notification for $title." + } ?: "Save a show to your library first to test notifications.", style = MaterialTheme.typography.bodyMedium, color = MaterialTheme.colorScheme.onSurfaceVariant, )