Forums: Various fixes 5 (#2271)

This commit is contained in:
Alexander Zinchuk 2023-01-10 04:49:45 +01:00
parent ae695e6406
commit 67279c1b48
2 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ const CustomEmojiPicker: FC<OwnProps & StateProps> = ({
shouldRender={activeSetIndex >= i - 1 && activeSetIndex <= i + 1}
isSavedMessages={isSavedMessages}
shouldHideRecentHeader={withDefaultTopicIcons}
withDefaultTopicIcon={withDefaultTopicIcons}
withDefaultTopicIcon={stickerSet.id === RECENT_SYMBOL_SET_ID}
isCustomEmojiPicker
isCurrentUserPremium={isCurrentUserPremium}
onStickerSelect={handleEmojiSelect}

View File

@ -48,7 +48,7 @@ type OwnProps = {
const STICKER_MARGIN = IS_SINGLE_COLUMN_LAYOUT ? 8 : 16;
const EMOJI_MARGIN = IS_SINGLE_COLUMN_LAYOUT ? 8 : 10;
const CONTAINER_PADDING = 8;
const CONTAINER_PADDING = IS_SINGLE_COLUMN_LAYOUT ? 8 : 0;
const ITEMS_PER_ROW_FALLBACK = 8;