Revert video controls timer setup

This commit is contained in:
Ilya Laktyushin 2021-03-17 19:10:42 +04:00
parent 71a5d5560e
commit 0f01f83a55

View File

@ -484,7 +484,6 @@ final class UniversalVideoGalleryItemNode: ZoomableContentGalleryItemNode {
private var previousPlaying: Bool?
private func setupControlsTimer() {
return
let timer = SwiftSignalKit.Timer(timeout: 3.0, repeat: false, completion: { [weak self] in
self?.updateControlsVisibility(false)
self?.controlsTimer = nil