diff --git a/lib/views/course_view/components/stream_card.dart b/lib/views/course_view/components/stream_card.dart index 605d32c..ad50ffb 100644 --- a/lib/views/course_view/components/stream_card.dart +++ b/lib/views/course_view/components/stream_card.dart @@ -208,7 +208,7 @@ class StreamCardState extends ConsumerState { ), padding: const EdgeInsets.all(5), child: Text( - formatDuration(widget.stream.duration), + formatDuration(widget.stream.end.toDateTime().difference(widget.stream.start.toDateTime()).inMinutes), style: themeData.textTheme.labelSmall?.copyWith( fontSize: 12, color: Colors.white,