mirror of
https://github.com/yattee/yattee.git
synced 2025-10-14 11:28:13 +00:00
Player controls UI changes
WIP on controls Chapters working Add previews variable Add lists ids WIP
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import Foundation
|
||||
|
||||
extension Double {
|
||||
func formattedAsPlaybackTime() -> String? {
|
||||
guard !isZero, isFinite else {
|
||||
func formattedAsPlaybackTime(allowZero: Bool = false) -> String? {
|
||||
guard allowZero || !isZero, isFinite else {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user