diff --git a/Source/BMPlayerProtocols.swift b/Source/BMPlayerProtocols.swift index d119449..60f98e0 100644 --- a/Source/BMPlayerProtocols.swift +++ b/Source/BMPlayerProtocols.swift @@ -19,12 +19,12 @@ extension BMPlayerControlView { } extension BMPlayer { - static func formatSecondsToString(_ secounds: TimeInterval) -> String { - if secounds.isNaN { + static func formatSecondsToString(_ seconds: TimeInterval) -> String { + if seconds.isNaN { return "00:00" } - let Min = Int(secounds / 60) - let Sec = Int(secounds.truncatingRemainder(dividingBy: 60)) + let Min = Int(seconds / 60) + let Sec = Int(seconds.truncatingRemainder(dividingBy: 60)) return String(format: "%02d:%02d", Min, Sec) } }