public async void AddSightAsync() { // Add CurrentSightTime and schedule toast notification if (CurrentSightDate.HasValue) { CurrentSight.VisitDate = CurrentSightDate.Value.Date.Add(CurrentSightTime); } ScheduledNotificationService.AddToastReminder(CurrentSight); CurrentSight.IsMySight = true; await UpdateSightAsync(CurrentSight); }
public async void AddSightAsync() { if (CurrentSightDate.HasValue) { CurrentSight.VisitDate = CurrentSightDate.Value.Date.Add(CurrentSightTime); } ScheduledNotificationService.AddToastReminder(CurrentSight); PopupManager.HideContent(); CurrentSight.IsMySight = true; await UpdateSightAsync(CurrentSight); }