Prepare for Production

This commit is contained in:
Tihanyi Marcell 2024-05-03 22:42:11 +02:00
parent 96ed4d0b46
commit 597c50bbf6
2 changed files with 6 additions and 6 deletions

View File

@ -214,7 +214,7 @@ class HomePageState extends State<HomePage> with TickerProviderStateMixin {
// TODO: REMOVE IN PRODUCTION BUILD!!!
// print(_liveCard.currentState);
_liveCard.currentState = LiveCardState.duringLesson;
// _liveCard.currentState = LiveCardState.duringLesson;
return Scaffold(
body: Stack(

View File

@ -71,19 +71,19 @@ class LiveCardStateA extends State<LiveCard> {
// test
// TODO: REMOVE IN PRODUCTION BUILD!!!
liveCard.currentState = LiveCardState.duringLesson;
/*liveCard.currentState = LiveCardState.duringLesson;
liveCard.currentLesson = Lesson(
date: DateTime.now().add(Duration(
date: DateTime.now().add(const Duration(
minutes: 30,
)),
subject: GradeSubject(
category: Category(id: 'asd'), id: 'asd', name: 'Matematika'),
lessonIndex: '1',
teacher: Teacher(id: 'id', name: 'name'),
start: DateTime.now().subtract(Duration(
start: DateTime.now().subtract(const Duration(
minutes: 30,
)),
end: DateTime.now().add(Duration(
end: DateTime.now().add(const Duration(
minutes: 15,
)),
homeworkId: 'homeworkId',
@ -92,7 +92,7 @@ class LiveCardStateA extends State<LiveCard> {
room: 'ABC69',
groupName: 'groupName',
name: 'name',
);
);*/
liveCard.nextLesson = liveCard.currentLesson;