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!!! // TODO: REMOVE IN PRODUCTION BUILD!!!
// print(_liveCard.currentState); // print(_liveCard.currentState);
_liveCard.currentState = LiveCardState.duringLesson; // _liveCard.currentState = LiveCardState.duringLesson;
return Scaffold( return Scaffold(
body: Stack( body: Stack(

View File

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