Add share actions to video context menu

This commit is contained in:
Arkadiusz Fal
2022-06-26 13:57:02 +02:00
parent 72ec6094bc
commit 8ebadd4758
8 changed files with 35 additions and 47 deletions

View File

@@ -26,7 +26,7 @@ class Segment: ObservableObject, Hashable {
formatter.minimumFractionDigits = 0
formatter.maximumFractionDigits = 1
return formatter.string(from: NSNumber(value: duration)) ?? ""
return formatter.string(from: NSNumber(value: duration.rounded())) ?? ""
}
var endTime: CMTime {