mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Add support for system volume button listener on iOS 17.2+
This commit is contained in:
@@ -323,6 +323,7 @@ private final class CameraScreenComponent: CombinedComponent {
|
||||
}
|
||||
|
||||
self.volumeButtonsListener = VolumeButtonsListener(
|
||||
sharedContext: self.context.sharedContext,
|
||||
shouldBeActive: self.volumeButtonsListenerShouldBeActive.get(),
|
||||
upPressed: { [weak self] in
|
||||
if let self {
|
||||
|
||||
Reference in New Issue
Block a user