diff --git a/DeviceTests/DeviceTests.Shared/Calendar_Tests.cs b/DeviceTests/DeviceTests.Shared/Calendar_Tests.cs index f697f58c7..9c40af8c1 100644 --- a/DeviceTests/DeviceTests.Shared/Calendar_Tests.cs +++ b/DeviceTests/DeviceTests.Shared/Calendar_Tests.cs @@ -154,7 +154,7 @@ public Task Full_Calendar_Edit_Test() Assert.Equal(newEvent.Duration, createdEvent.Duration); Assert.Equal(newEvent.EndDate, createdEvent.EndDate); Assert.Equal(newEvent.Attendees, createdEvent.Attendees); - Assert.Equal(newEvent.Reminders, createdEvent.Reminders); + Assert.Equal(newEvent.Reminder, createdEvent.Reminder); Assert.Equal(newEvent.RecurrancePattern, createdEvent.RecurrancePattern); createdEvent.RecurrancePattern = new RecurrenceRule() @@ -182,7 +182,7 @@ public Task Full_Calendar_Edit_Test() Assert.Equal(createdEvent.AllDay, updatedEvent.AllDay); Assert.NotEqual(createdEvent.StartDate, updatedEvent.StartDate); Assert.Equal(createdEvent.Attendees, updatedEvent.Attendees); - Assert.Equal(createdEvent.Reminders, updatedEvent.Reminders); + Assert.Equal(createdEvent.Reminder, updatedEvent.Reminder); var attendeeToAddAndRemove = new CalendarEventAttendee() { Email = "fake@email.com", Name = "Fake Email", Type = AttendeeType.Resource }; diff --git a/Samples/Samples/Converters/ReminderTextConverter.cs b/Samples/Samples/Converters/ReminderTextConverter.cs index 57b7cb0c5..11c43c81a 100644 --- a/Samples/Samples/Converters/ReminderTextConverter.cs +++ b/Samples/Samples/Converters/ReminderTextConverter.cs @@ -11,7 +11,7 @@ public object Convert(object value, Type targetType, object parameter, CultureIn if (value == null || !(value is int minutes)) return null; - return minutes > 0 ? $"{minutes} minutes prior" : "No Reminders"; + return minutes > 0 ? $"{minutes} minutes prior" : "No Reminder"; } public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) => throw new NotImplementedException(); diff --git a/Samples/Samples/View/CalendarEventPage.xaml b/Samples/Samples/View/CalendarEventPage.xaml index 939bc97c0..c4f7c07de 100644 --- a/Samples/Samples/View/CalendarEventPage.xaml +++ b/Samples/Samples/View/CalendarEventPage.xaml @@ -131,30 +131,30 @@ - + + -