Forums: Various fixes 5 (#2271)
This commit is contained in:
parent
ae695e6406
commit
67279c1b48
@ -296,7 +296,7 @@ const CustomEmojiPicker: FC<OwnProps & StateProps> = ({
|
|||||||
shouldRender={activeSetIndex >= i - 1 && activeSetIndex <= i + 1}
|
shouldRender={activeSetIndex >= i - 1 && activeSetIndex <= i + 1}
|
||||||
isSavedMessages={isSavedMessages}
|
isSavedMessages={isSavedMessages}
|
||||||
shouldHideRecentHeader={withDefaultTopicIcons}
|
shouldHideRecentHeader={withDefaultTopicIcons}
|
||||||
withDefaultTopicIcon={withDefaultTopicIcons}
|
withDefaultTopicIcon={stickerSet.id === RECENT_SYMBOL_SET_ID}
|
||||||
isCustomEmojiPicker
|
isCustomEmojiPicker
|
||||||
isCurrentUserPremium={isCurrentUserPremium}
|
isCurrentUserPremium={isCurrentUserPremium}
|
||||||
onStickerSelect={handleEmojiSelect}
|
onStickerSelect={handleEmojiSelect}
|
||||||
|
|||||||
@ -48,7 +48,7 @@ type OwnProps = {
|
|||||||
|
|
||||||
const STICKER_MARGIN = IS_SINGLE_COLUMN_LAYOUT ? 8 : 16;
|
const STICKER_MARGIN = IS_SINGLE_COLUMN_LAYOUT ? 8 : 16;
|
||||||
const EMOJI_MARGIN = IS_SINGLE_COLUMN_LAYOUT ? 8 : 10;
|
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;
|
const ITEMS_PER_ROW_FALLBACK = 8;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user