Skip to content

Commit

Permalink
Fix video item duration formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed Dec 16, 2024
1 parent bb59492 commit fc688fc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct VideoMediaEventsTimelineView: View {
HStack(spacing: 0) {
CompoundIcon(\.videoCallSolid)
Spacer()
Text(Date(timeIntervalSince1970: timelineItem.content.videoInfo.duration).formattedTime())
Text(Duration.seconds(timelineItem.content.videoInfo.duration).formatted(.time(pattern: .minuteSecond)))
}
.padding(8)
.background {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fc688fc

Please sign in to comment.