From fd897989eb3844e1ad0f666ef3d85b7344619c09 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Sat, 27 Jun 2020 04:10:42 +0300 Subject: [PATCH] Fix featured sticker pack layout --- submodules/TelegramUI/Sources/StickerPaneSearchGlobaltem.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI/Sources/StickerPaneSearchGlobaltem.swift b/submodules/TelegramUI/Sources/StickerPaneSearchGlobaltem.swift index 24b6e2ada3..f331f789c1 100644 --- a/submodules/TelegramUI/Sources/StickerPaneSearchGlobaltem.swift +++ b/submodules/TelegramUI/Sources/StickerPaneSearchGlobaltem.swift @@ -103,7 +103,7 @@ final class StickerPaneSearchGlobalItem: GridItem { } } - return (128.0 + additionalHeight, false) + return (128.0 + additionalHeight, !self.listAppearance) } init(account: Account, theme: PresentationTheme, strings: PresentationStrings, listAppearance: Bool, info: StickerPackCollectionInfo, topItems: [StickerPackItem], topSeparator: Bool, regularInsets: Bool, installed: Bool, installing: Bool = false, unread: Bool, open: @escaping () -> Void, install: @escaping () -> Void, getItemIsPreviewed: @escaping (StickerPackItem) -> Bool, itemContext: StickerPaneSearchGlobalItemContext, sectionTitle: String? = nil) {