Various Fixes

This commit is contained in:
Ilya Laktyushin
2021-06-25 15:40:14 +04:00
parent f8890b9734
commit 80426cdf8f
14 changed files with 376 additions and 342 deletions

View File

@@ -2,6 +2,12 @@ import Foundation
import UIKit
import Postbox
enum StickerVerificationStatus {
case loading
case verified
case declined
}
public class ImportStickerPack {
public class Sticker: Equatable {
public enum Content {
@@ -32,6 +38,14 @@ public class ImportStickerPack {
return data
}
}
var isAnimated: Bool {
if case .animation = self.content {
return true
} else {
return false
}
}
}
public let software: String