join online notification resolver fix.

This commit is contained in:
Burak Kaan Köse
2026-04-12 19:42:50 +02:00
parent 10c797fba4
commit 3977401057
3 changed files with 26 additions and 2 deletions
@@ -246,11 +246,13 @@ public class NotificationBuilder : INotificationBuilder
.AddArgument(Constants.ToastCalendarItemIdKey, calendarItem.Id.ToString())
.AddArgument(Constants.ToastModeKey, Constants.ToastModeCalendar));
if (Uri.TryCreate(calendarItem.HtmlLink, UriKind.Absolute, out var joinUri))
if (Uri.TryCreate(calendarItem.HtmlLink, UriKind.Absolute, out _))
{
builder.AddButton(new AppNotificationButton(Translator.CalendarEventDetails_JoinOnline)
.SetIcon(GetNotificationIconUri("calendar-join"))
.SetInvokeUri(joinUri));
.AddArgument(Constants.ToastCalendarActionKey, Constants.ToastCalendarJoinOnlineAction)
.AddArgument(Constants.ToastCalendarItemIdKey, calendarItem.Id.ToString())
.AddArgument(Constants.ToastModeKey, Constants.ToastModeCalendar));
}
var tag = $"calendar-reminder-{calendarItem.Id:N}-{reminderDurationInSeconds}";