From f41938b1c824ecafc826eda23a9fb3e857b67dd1 Mon Sep 17 00:00:00 2001 From: JosephValle Date: Tue, 6 Feb 2024 14:26:09 -0500 Subject: [PATCH] Delete Schools Done --- .../repositories/scheduler/schedule_repository.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/network_interface/repositories/scheduler/schedule_repository.dart b/lib/network_interface/repositories/scheduler/schedule_repository.dart index 8596986..3146675 100644 --- a/lib/network_interface/repositories/scheduler/schedule_repository.dart +++ b/lib/network_interface/repositories/scheduler/schedule_repository.dart @@ -306,9 +306,7 @@ class ScheduleRepository extends BaseScheduleRepository { } final Career career = careers.firstWhere((element) => element.excelNum == careerPriority); - if (career.excelNum == 86) { - print(career.name); - } + final List correspondingClasses = classes.where((element) => element.career.id == career.id).toList(); for (ClassSession correspondingClass in correspondingClasses) {