mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Video editor fixes
This commit is contained in:
@@ -440,6 +440,15 @@ public final class TelegramMediaFile: Media, Equatable, Codable {
|
||||
return false
|
||||
}
|
||||
|
||||
public var hasLinkedStickers: Bool {
|
||||
for attribute in self.attributes {
|
||||
if case .HasLinkedStickers = attribute {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
public var isMusic: Bool {
|
||||
for attribute in self.attributes {
|
||||
if case .Audio(false, _, _, _, _) = attribute {
|
||||
|
||||
Reference in New Issue
Block a user