Fix playback time formatting

This commit is contained in:
Arkadiusz Fal 2021-12-26 20:07:59 +01:00
parent f257632354
commit e06febd2e3

View File

@ -2,7 +2,7 @@ import Foundation
extension Double { extension Double {
func formattedAsPlaybackTime() -> String? { func formattedAsPlaybackTime() -> String? {
guard !isZero else { guard !isZero, isFinite else {
return nil return nil
} }