Merge pull request #1362 from Bilb/f-xtyping-bubble-theme

Fix typing bubble theme
pull/1373/head
Audric Ackermann 5 years ago committed by GitHub
commit 85fd481ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -701,9 +701,13 @@
const { sender } = mostRecent;
const contact = ConversationController.getOrCreate(sender, 'private');
// we need the opposite theme
const color =
window.Events.getThemeSetting() === 'light' ? 'dark' : 'light';
const props = {
...contact.format(),
conversationType: this.model.isPrivate() ? 'direct' : 'group',
color,
};
if (this.typingBubbleView) {

@ -58,7 +58,7 @@ export class TypingBubble extends React.Component<Props> {
)}
>
<div className="module-message__typing-container">
<TypingAnimation color="light" i18n={i18n} />
<TypingAnimation color={color} i18n={i18n} />
</div>
{this.renderAvatar()}
</div>

Loading…
Cancel
Save