-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recent Emojis #7
Comments
In a hypothetical future when all starts align. For now though, you can extend functionality your self with |
It seems like loadEmojiSections replaces all other emojis. I wish I was able to just add another category section. Thanks so much for reply btw. |
You can get all emojis with For now, you can fork the repo and modify the private Its a good idea for me to make it public. Thanks. |
Great! I'll make methods public later so you could do this natively. |
func emojiPicker(_ picker: ElegantEmojiPicker, loadEmojiSections withConfiguration: ElegantConfiguration, _ withLocalization: ElegantLocalization) -> [EmojiSection] {
let allEmojis = ElegantEmojiPicker.getAllEmoji()
let politeEmojis = allEmojis.filter({
$0.emoji == "🖕" ||
$0.emoji == "👊" ||
$0.emoji == "🤬"
})
return [EmojiSection(title: "Politeness", icon: UIImage(systemName: "heart"), emojis: politeEmojis)] + ElegantEmojiPicker.getDefaultEmojiSections(config: withConfiguration, localization: withLocalization)
} |
Thanks so much for your responsive behaviour 🚀 |
Will there be recent emojis category?
The text was updated successfully, but these errors were encountered: