Update emoji animations haptic

This commit is contained in:
Ilya Laktyushin
2021-09-13 23:23:37 +03:00
parent b29e2aa5c6
commit fd1362bf42
2 changed files with 74 additions and 21 deletions

View File

@@ -26,6 +26,9 @@ public struct EmojiInteraction: Equatable {
guard let item = decodedData as? [String: Any] else {
return nil
}
guard let version = item["v"] as? Int, version == 1 else {
return nil
}
guard let animationsArray = item["a"] as? [Any] else {
return nil
}