mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Merge commit 'f2efd60154dcba1d9da230e3b6aa6a9ca132f6e8' into features/input-panel
This commit is contained in:
@@ -295,7 +295,7 @@ func chatMediaInputGridEntries(view: ItemCollectionsView, savedStickers: Ordered
|
||||
|
||||
let filteredTrending = trendingPacks.filter { !installedPacks.contains($0.info.id) }
|
||||
if !trendingIsDismissed && !filteredTrending.isEmpty {
|
||||
entries.append(.trendingList(theme: theme, strings: strings, packs: filteredTrending, isPremium: false))
|
||||
entries.append(.trendingList(theme: theme, strings: strings, packs: filteredTrending, isPremium: trendingIsPremium))
|
||||
}
|
||||
|
||||
if let recentStickers = recentStickers, !recentStickers.items.isEmpty {
|
||||
@@ -365,7 +365,7 @@ func chatMediaInputGridEntries(view: ItemCollectionsView, savedStickers: Ordered
|
||||
}
|
||||
}
|
||||
|
||||
if let cloudPremiumStickers = cloudPremiumStickers {
|
||||
if let cloudPremiumStickers = cloudPremiumStickers, existingStickerIds.isEmpty {
|
||||
for i in 0 ..< cloudPremiumStickers.items.count {
|
||||
if let item = cloudPremiumStickers.items[i].contents.get(RecentMediaItem.self) {
|
||||
let file = item.media
|
||||
|
||||
Reference in New Issue
Block a user