Gestito notificationData nelle notifiche push

This commit is contained in:
2025-09-12 17:37:36 +02:00
parent 223e74c490
commit 0f3047a2b6
10 changed files with 59 additions and 23 deletions

View File

@@ -47,11 +47,11 @@
Notification.StartDate < DateTime.Today && Notification.Body != null && Notification.Body.Contains("Oggi")
)
{
<MudText Typo="Typo.caption" Class="subtitle">@Notification.Body.Replace("Oggi", $"{Notification.StartDate:d}")</MudText>
<div class="subtitle">@Notification.Body.Replace("Oggi", $"{Notification.StartDate:d}")</div>
}
else
{
<MudText Typo="Typo.caption" Class="subtitle">@Notification.Body</MudText>
<div class="subtitle">@Notification.Body</div>
}
</div>
</div>