Video player improvements

This commit is contained in:
Isaac
2024-10-21 20:21:15 +04:00
parent a38e1cf06e
commit fa2da2832e
24 changed files with 294 additions and 888 deletions

View File

@@ -106,15 +106,14 @@ extension ChatControllerImpl {
}
}
//TODO:release
//TODO:localize
if "".isEmpty, let channel = message.peers[message.id.peerId] as? TelegramChannel, case .broadcast = channel.info {
/*if "".isEmpty, let channel = message.peers[message.id.peerId] as? TelegramChannel, case .broadcast = channel.info {
for media in message.media {
if let file = media as? TelegramMediaFile, file.isVideo, !file.isInstantVideo, !file.isAnimated {
tip = .videoProcessing
}
}
}
}*/
if actions.tip == nil {
actions.tip = tip