Logo
Explore Help
Register Sign In
keejef
/
session-ios
mirror of https://github.com/oxen-io/session-ios
1
0
Fork
You've already forked session-ios
0
Code Issues Projects Releases Wiki Activity
session-ios/SessionUtilitiesKit/General/TimeInterval+Utilities.swift

18 lines
395 B
Swift
Raw Normal View History Unescape Escape

Fixed remaining bugs Split the date out of the VisibleMessageCell into it's own cell to clean up deletion/insertion animations Fixed a layout issue with the Open Group Fixed an issue where the QRCode tinting wasn't working on iOS 16 Implemented a swift version of an ObjC function
3 years ago
// Copyright © 2022 Rangeproof Pty Ltd. All rights reserved.
import Foundation
public extension TimeInterval {
enum DurationFormat {
case short
case long
case hoursMinutesSeconds
add a new format for video duration
2 years ago
case videoDuration
add auto deletes subtitle on delete action in long press menu screen
1 year ago
case twoUnits
Fixed remaining bugs Split the date out of the VisibleMessageCell into it's own cell to clean up deletion/insertion animations Fixed a layout issue with the Open Group Fixed an issue where the QRCode tinting wasn't working on iOS 16 Implemented a swift version of an ObjC function
3 years ago
}
func formatted(format: DurationFormat) -> String {
return String.formattedDuration(self, format: format)
}
}
Powered by Gitea Version: 1.19.1 Page: 274ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API