vanniktech / Emoji

A library to add Emoji support to your Android / iOS / JVM Application
Apache License 2.0
1.53k stars 292 forks source link

Category icons aren't visible (translucent or pure white?) #885

Closed tinder-johnbuhanan closed 2 years ago

tinder-johnbuhanan commented 2 years ago

Thank you for filing an issue. If this is a bug that you want to report, please take the time to provide some information:

Screenshot(s) showing the issue and reprodution steps are appreciated.

image

I launch it from one app and they show up fine.

But if I launch it from our production app I can't see the buttons.

What could cause this? Some kind of styling? How do I fix?

santi-petersen commented 2 years ago

Probably some issue with your app theme. Check the "colorPrimary" in your AppTheme style. This is the color used to display unselected categories.

JohnBuhanan commented 2 years ago

@santi-petersen Is there a workaround? I can't change color primary :(

santi-petersen commented 2 years ago

@JohnBuhanan I guess you can pass a different EmojiTheming() to the EmojiPopup constructor

val emojiPopup = EmojiPopup( ... theming = EmojiTheming(primaryColor = Color.DKGRAY) )

JohnBuhanan commented 2 years ago

Badass! I'll try it :)

vanniktech commented 2 years ago

Yeah please use EmojiTheming to overwrite theming.