mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Fix video item duration formatting
This commit is contained in:
committed by
Stefan Ceriu
parent
60e94120cc
commit
61ad718007
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user