Skip to content

Commit

Permalink
Commented out automatic day seitching in timetable
Browse files Browse the repository at this point in the history
  • Loading branch information
vyPal committed Sep 14, 2023
1 parent db948b8 commit 5812c34
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/timetable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ class TimeTableClass {
Widget getTimeTable(TimeTableData tt, int daydiff, Function(int) modifyDayDiff,
AppLocalizations? local, bool userInteracted, BuildContext context) {
List<TableRow> rows = <TableRow>[];
/*
if (daydiff == 0 && tt.classes.isNotEmpty) {
String endTime = tt.classes.last.endTime;
DateTime now = DateTime.now();
Expand All @@ -271,6 +272,7 @@ Widget getTimeTable(TimeTableData tt, int daydiff, Function(int) modifyDayDiff,
modifyDayDiff(1);
}
}
*/
for (TimeTableClass ttclass in tt.classes) {
List<Widget> extrasRow = <Widget>[];
if (ttclass.data['curriculum'] != null) {
Expand Down

0 comments on commit 5812c34

Please sign in to comment.