Skip to content

Commit

Permalink
Fixed date error
Browse files Browse the repository at this point in the history
  • Loading branch information
Decoder07 committed Aug 1, 2024
1 parent 7100cab commit baca227
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ class MessageContainer extends StatelessWidget {
mainAxisAlignment: MainAxisAlignment.end,
children: [
HMSSubtitleText(
text: formatter.format(message.time),
text: message.time == null
? ""
: formatter.format(message.time!),
textColor: HMSThemeColors.onSurfaceMediumEmphasis,
),
const SizedBox(
Expand Down

0 comments on commit baca227

Please sign in to comment.