diff --git a/TelegramUI/VolumeChangeDetection.swift b/TelegramUI/VolumeChangeDetection.swift index ee53dafa27..529f0cca50 100644 --- a/TelegramUI/VolumeChangeDetection.swift +++ b/TelegramUI/VolumeChangeDetection.swift @@ -15,7 +15,7 @@ class VolumeChangeDetector: NSObject { private var ignoreAdjustmentOnce = false init(view: UIView, valueChanged: @escaping () -> Void) { - self.control = MPVolumeView(frame: CGRect(origin: CGPoint(), size: CGSize(width: 100.0, height: 20.0))) + self.control = MPVolumeView(frame: CGRect(origin: CGPoint(x: 0.0, y: -64.0), size: CGSize(width: 100.0, height: 20.0))) self.currentValue = AVAudioSession.sharedInstance().outputVolume super.init()