mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Cleanup
This commit is contained in:
parent
e84b49e081
commit
fc35f2e2fe
@ -469,7 +469,6 @@ final class MediaStreamVideoComponent: Component {
|
|||||||
if videoView.bounds.size.width > 0,
|
if videoView.bounds.size.width > 0,
|
||||||
videoView.alpha > 0,
|
videoView.alpha > 0,
|
||||||
self.hadVideo,
|
self.hadVideo,
|
||||||
// TODO: remove from here and move to call end (or at least to background)
|
|
||||||
let snapshot = videoView.snapshotView(afterScreenUpdates: false) ?? videoView.snapshotView(afterScreenUpdates: true) {
|
let snapshot = videoView.snapshotView(afterScreenUpdates: false) ?? videoView.snapshotView(afterScreenUpdates: true) {
|
||||||
lastFrame[component.call.peerId.id.description] = snapshot
|
lastFrame[component.call.peerId.id.description] = snapshot
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user