Skip to content

Commit

Permalink
change timestamp and title in stream
Browse files Browse the repository at this point in the history
  • Loading branch information
GravityDarkLab committed Feb 2, 2024
1 parent 66833ef commit d59f871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/views/course_view/components/stream_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ class StreamCardState extends ConsumerState<StreamCard> {
),
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,
Expand Down

0 comments on commit d59f871

Please sign in to comment.