TF-2182 Fix no blue bar for calendar events
(cherry picked from commit 7ea91d59e860dbd8f5bd38cefd76ca61bc4cc4e3)
This commit is contained in:
@@ -15,7 +15,7 @@ class CalendarEventDataSourceImpl extends CalendarEventDataSource {
|
||||
CalendarEventDataSourceImpl(this._calendarEventAPI, this._exceptionThrower);
|
||||
|
||||
@override
|
||||
Future<List<CalendarEvent>> parse(AccountId accountId, Set<Id> blobIds) {
|
||||
Future<Map<Id, List<CalendarEvent>>> parse(AccountId accountId, Set<Id> blobIds) {
|
||||
return Future.sync(() async {
|
||||
return await _calendarEventAPI.parse(accountId, blobIds);
|
||||
}).catchError(_exceptionThrower.throwException);
|
||||
|
||||
@@ -16,7 +16,7 @@ class LocalCalendarEventDataSourceImpl extends CalendarEventDataSource {
|
||||
LocalCalendarEventDataSourceImpl(this._htmlAnalyzer, this._exceptionThrower);
|
||||
|
||||
@override
|
||||
Future<List<CalendarEvent>> parse(AccountId accountId, Set<Id> blobIds) {
|
||||
Future<Map<Id, List<CalendarEvent>>> parse(AccountId accountId, Set<Id> blobIds) {
|
||||
throw UnimplementedError();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user