Let users customize the preferred reaction palette

This commit is contained in:
Evan Hahn 2021-09-09 11:29:01 -05:00 committed by GitHub
parent 7a5385e00a
commit f28456c160
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 1788 additions and 124 deletions

View file

@ -10,6 +10,7 @@ import { isConversationSMSOnly } from '../../util/isConversationSMSOnly';
import { selectRecentEmojis } from '../selectors/emojis';
import { getIntl, getUserConversationId } from '../selectors/user';
import { getEmojiSkinTone } from '../selectors/items';
import {
getConversationSelector,
getGroupAdminsSelector,
@ -100,7 +101,7 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
},
// Emojis
recentEmojis,
skinTone: get(state, ['items', 'skinTone'], 0),
skinTone: getEmojiSkinTone(state),
// Stickers
receivedPacks,
installedPack,