diff --git a/lib/src/schedule.dart b/lib/src/schedule.dart index 6d78b69..20929d8 100644 --- a/lib/src/schedule.dart +++ b/lib/src/schedule.dart @@ -169,7 +169,11 @@ class _ScheduleScreenState extends State { .toList() .join('\n'); bool isExam = event.containsKey('className') && - event['className'] == 'est-epreuve'; + event['className'] == 'est-epreuve' || + RegExp(r'^(?:.*?(?: - )){2}(.+?) - ') + .firstMatch(event['title']) + .group(1) == + "DEVOIRS SURVEILLES"; events.add( FlutterWeekViewEvent( title: title,