mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-07-31 00:29:22 +00:00
fix: update notification messages for clarity and consistency
This commit is contained in:
parent
c2f2e07161
commit
67eaba085f
2 changed files with 5 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue