mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
UI fixes
This commit is contained in:
@@ -15,9 +15,9 @@ func isMediaStreamable(message: Message, media: TelegramMediaFile) -> Bool {
|
||||
if size < 1 * 1024 * 1024 {
|
||||
return false
|
||||
}
|
||||
if media.isAnimated {
|
||||
return false
|
||||
}
|
||||
// if media.isAnimated {
|
||||
// return false
|
||||
// }
|
||||
for attribute in media.attributes {
|
||||
if case let .Video(video) = attribute {
|
||||
if video.flags.contains(.supportsStreaming) {
|
||||
@@ -41,9 +41,9 @@ func isMediaStreamable(media: TelegramMediaFile) -> Bool {
|
||||
if size < 1 * 1024 * 1024 {
|
||||
return false
|
||||
}
|
||||
if media.isAnimated {
|
||||
return false
|
||||
}
|
||||
// if media.isAnimated {
|
||||
// return false
|
||||
// }
|
||||
for attribute in media.attributes {
|
||||
if case let .Video(video) = attribute {
|
||||
if video.flags.contains(.supportsStreaming) {
|
||||
|
||||
Reference in New Issue
Block a user