migrated custom timetable events to Marianum-Connect and refactored push notification handling
This commit is contained in:
@@ -2,6 +2,7 @@ import 'dart:developer';
|
||||
|
||||
import 'package:intl/intl.dart';
|
||||
|
||||
import '../../../../../api/marianumconnect/queries/timetable_custom_events/custom_events_migration.dart';
|
||||
import '../../../../../api/marianumconnect/queries/timetable_get_week/timetable_get_week_response.dart';
|
||||
import '../../../../../api/mhsl/custom_timetable_event/custom_timetable_event.dart';
|
||||
import '../../../../../extensions/date_time.dart';
|
||||
@@ -187,6 +188,7 @@ class TimetableBloc
|
||||
bool renew = false,
|
||||
}) async {
|
||||
try {
|
||||
await CustomEventsMigration.runOnce();
|
||||
final events = await repo.data.getCustomEvents(
|
||||
renew: renew,
|
||||
onError: onError,
|
||||
|
||||
Reference in New Issue
Block a user