[WIP] Stickers editor

This commit is contained in:
Ilya Laktyushin
2024-02-27 10:42:45 +04:00
parent 35e9887343
commit e6def24075
32 changed files with 1973 additions and 992 deletions

View File

@@ -1784,6 +1784,7 @@ public extension EmojiPagerContentComponent {
}
if let recentStickers = recentStickers {
let groupId = "recent"
for item in recentStickers.items {
guard let item = item.contents.get(RecentMediaItem.self) else {
continue
@@ -1807,7 +1808,6 @@ public extension EmojiPagerContentComponent {
tintMode: tintMode
)
let groupId = "recent"
if let groupIndex = itemGroupIndexById[groupId] {
itemGroups[groupIndex].items.append(resultItem)
} else {