fix: update notification messages for clarity and consistency

This commit is contained in:
tapframe 2026-04-04 13:03:18 +05:30
parent c2f2e07161
commit 67eaba085f
2 changed files with 5 additions and 5 deletions

View file

@ -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,

View file

@ -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,
)