Fix featured sticker pack layout

This commit is contained in:
Ilya Laktyushin 2020-06-27 04:10:42 +03:00
parent cd9199578f
commit fd897989eb

View File

@ -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) {