Skip to content

Commit 3f30a59

Browse files
committed
🐛 fixed bugs
1 parent 0f112a8 commit 3f30a59

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

lib/src/admin/review_tutor.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ class ReviewTutorState extends State<ReviewTutor> {
7373
transcripts.add(transcript);
7474
hasTranscript.add(true);
7575
} catch (e) {
76-
print(e);
7776
log(e.toString());
7877
Uint8List? empty = Uint8List(128);
7978
transcripts.add(empty);

lib/src/pages/calendar_screen.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ class _CalendarScreenState extends State<CalendarScreen> {
3232
widget.globals.getUser.getId, widget.globals);
3333
events = incomingEvents;
3434
} catch (e) {
35-
print(e);
3635
const snack = SnackBar(content: Text('Error loading events'));
3736
ScaffoldMessenger.of(context).showSnackBar(snack);
3837
}
@@ -47,7 +46,6 @@ class _CalendarScreenState extends State<CalendarScreen> {
4746
owner.add(incomingOwner);
4847
}
4948
} catch (e) {
50-
print(e);
5149
const snack = SnackBar(content: Text('Error loading events'));
5250
ScaffoldMessenger.of(context).showSnackBar(snack);
5351
}

lib/src/tutor_page.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,7 @@ class TutorPageState extends State<TutorPage> {
110110

111111

112112

113-
if (lastClicked.difference(DateTime.now()).inSeconds > 2) {
114-
return false;
115-
} else {
116-
return true;
117-
}
113+
118114
}),
119115
child: Scaffold(
120116
drawer: TutorNavigationDrawerWidget(globals: widget.globals),

0 commit comments

Comments
 (0)