diff --git a/lib/messages.dart b/lib/messages.dart index cd0fabc..1f5d987 100644 --- a/lib/messages.dart +++ b/lib/messages.dart @@ -139,7 +139,7 @@ class TimeTablePageState extends BaseState { } for (TimelineItem msg in msgsWOR) { bool isImportantMessage = false; - if (msg.data["Value"]["messageContent"] != null) { + if (msg.data["Value"]?["messageContent"] != null) { isImportantMessage = true; } /*