Skip to content

Commit

Permalink
fix:Added rewindtime
Browse files Browse the repository at this point in the history
  • Loading branch information
angrezichatterbox committed May 17, 2024
1 parent a4b4ac6 commit 2e3d01b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions lib/pages/subject.dart
Original file line number Diff line number Diff line change
Expand Up @@ -283,25 +283,26 @@ class TimeTableState extends State<TimeTable> with RouteAware {
print("Hello i am index");
courses[index]["status"] = "bunked";
c1 = Colors.red;
getStatus(date: selectedDate);

updateStatus(
courses[index]["session_url"], "bunked");
courses[index]["session_url"], "bunked",date: selectedDate);

},
onDoubleTap: () {
courses[index]["status"] = "cancelled";
c1 = Colors.blue.shade700;
getStatus(date: selectedDate);

updateStatus(
courses[index]["session_url"], "cancelled");
getStatus(date: selectedDate);
courses[index]["session_url"], "cancelled",date: selectedDate);

},
onLongPress: () {
courses[index]["status"] = "Present";
c1 = Colors.green;
getStatus(date: selectedDate);

updateStatus(
courses[index]["session_url"], "present");
getStatus(date: selectedDate);
courses[index]["session_url"], "present",date: selectedDate);

},
child: Padding(
padding: const EdgeInsets.only(
Expand Down

0 comments on commit 2e3d01b

Please sign in to comment.