Skip to content

Commit

Permalink
Fix latestEditor in CalendricalEvent can be null (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsreichardt authored Sep 20, 2023
1 parent d9ba521 commit 63563eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/lib/calendrical_events/models/calendrical_event.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class CalendricalEvent {
final String title;
final String? detail, place;
final bool sendNotification;
final String latestEditor;
final String? latestEditor;

CalendricalEvent({
required this.eventID,
Expand Down Expand Up @@ -58,7 +58,7 @@ class CalendricalEvent {
detail: data['detail'] as String?,
place: data['place'] as String?,
sendNotification: (data['sendNotification'] as bool?) ?? false,
latestEditor: data['latestEditor'] as String,
latestEditor: data['latestEditor'] as String?,
);
}

Expand Down

0 comments on commit 63563eb

Please sign in to comment.