From 3a4171cabe8f39d4f4ae427e0c4ee9da705ae074 Mon Sep 17 00:00:00 2001 From: Jamah Akbary Date: Mon, 15 Nov 2021 12:26:14 +0100 Subject: [PATCH] smal fix --- src/sites/twitch-twilight/modules/chat/viewer_card.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sites/twitch-twilight/modules/chat/viewer_card.jsx b/src/sites/twitch-twilight/modules/chat/viewer_card.jsx index f022ae37..c45470c0 100644 --- a/src/sites/twitch-twilight/modules/chat/viewer_card.jsx +++ b/src/sites/twitch-twilight/modules/chat/viewer_card.jsx @@ -62,7 +62,7 @@ export default class ViewerCards extends Module { onEnable() { this.chat.context.on('changed:chat.viewer-cards.highlight-chat', this.refreshStyle, this); this.chat.context.on('changed:chat.viewer-cards.color', this.refreshStyle, this); - this.toggle('hide-gift-subscribe-button', this.settings.get('chat.viewer-cards.hide-gift-subscribe-button')); + this.css_tweaks.toggle('hide-gift-subscribe-button', this.settings.get('chat.viewer-cards.hide-gift-subscribe-button')); this.on('..:update-colors', this.refreshStyle, this); this.ViewerCard.on('mount', this.updateCard, this);