fixed stuffs
Some checks are pending
Build and Release IPA / Build IPA (push) Waiting to run

This commit is contained in:
Francesco 2025-04-25 21:43:33 +02:00
parent 4f524964d0
commit 15c54b3d0c

View file

@ -858,7 +858,11 @@ class CustomMediaPlayerViewController: UIViewController, UIGestureRecognizerDele
private func setupHoldSpeedIndicator() {
let config = UIImage.SymbolConfiguration(pointSize: 14, weight: .bold)
let image = UIImage(systemName: "forward.fill", withConfiguration: config)
let speed = UserDefaults.standard.float(forKey: "holdSpeedPlayer")
var speed = UserDefaults.standard.float(forKey: "holdSpeedPlayer")
if speed == 0.0 {
speed = 2.0
}
holdSpeedIndicator = UIButton(type: .system)
holdSpeedIndicator.setTitle(" \(speed)", for: .normal)