Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Hareesh-Nandigrama committed Aug 1, 2023
1 parent 8ea2d47 commit db0a502
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions lib/stores/timetable_store.dart
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,14 @@ abstract class _TimetableStore with Store {
}
timetableCourses[i].morning.sort(((a, b) => a.timing.compareTo(b.timing)));
timetableCourses[i].afternoon.sort((a,b)=> a.timing.compareTo(b.timing));

if(timetableCourses[i].morning.length >= 2)
{
if(timetableCourses[i].morning[0].timing == timetableCourses[i].morning[1].timing)
{
timetableCourses[i].morning.removeAt(1);
}
}
}
allTimetableCourses = timetableCourses;
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 2.0.5+35
version: 2.0.6+36

environment:
sdk: ">=2.17.0 <3.0.0"
Expand Down

0 comments on commit db0a502

Please sign in to comment.