We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f75661 commit 823be04Copy full SHA for 823be04
SQLiteWinUI/SQLiteWinUI/Viewmodel/SchedulerViewModel.cs
@@ -97,10 +97,7 @@ private void GenerateAppointments()
97
}
98
internal void DeleteSchedulerAppointment(ScheduleAppointment scheduleAppointment)
99
{
100
- if (appointment == null)
101
- {
102
- appointment = scheduleAppointment;
103
- }
+ appointment = scheduleAppointment;
104
105
//// Remove the appointments in the Scheduler.
106
Appointments.Remove(this.appointment);
0 commit comments