mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Forwarding fixes
This commit is contained in:
@@ -1030,7 +1030,7 @@ final class OverlayPlayerControlsNode: ASDisplayNode {
|
||||
return speedList
|
||||
}
|
||||
|
||||
private func contextMenuSpeedItems(scheduleTooltip: @escaping (MediaNavigationAccessoryPanel.ChangeType) -> Void) -> Signal<ContextController.Items, NoError> {
|
||||
private func contextMenuSpeedItems(scheduleTooltip: @escaping (MediaNavigationAccessoryPanel.ChangeType?) -> Void) -> Signal<ContextController.Items, NoError> {
|
||||
var presetItems: [ContextMenuItem] = []
|
||||
|
||||
let previousValue = self.currentRate?.doubleValue ?? 1.0
|
||||
@@ -1051,6 +1051,7 @@ final class OverlayPlayerControlsNode: ASDisplayNode {
|
||||
return nil
|
||||
}
|
||||
}, action: { [weak self] _, f in
|
||||
scheduleTooltip(nil)
|
||||
f(.default)
|
||||
|
||||
self?.control?(.setBaseRate(rate))
|
||||
|
||||
Reference in New Issue
Block a user