1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-10 16:10:55 +00:00
* Added: Option to hide the Support Activity Feed from chat.
* Fixed: Apply proper colors to the Support Activity Feed when using custom colors.
This commit is contained in:
SirStendec 2022-06-14 16:26:34 -04:00
parent 4d1d3ae0d2
commit 02efe80a92
5 changed files with 22 additions and 3 deletions

View file

@ -341,6 +341,15 @@ export default class ChatHook extends Module {
}
});
this.settings.add('chat.banners.last-events', {
default: true,
ui: {
path: 'Chat > Appearance >> Community',
title: 'Allow the Support Activity Feed to be displayed in chat.',
component: 'setting-check-box'
}
});
this.settings.add('chat.banners.hype-train', {
default: true,
ui: {
@ -898,6 +907,9 @@ export default class ChatHook extends Module {
this.chat.context.getChanges('chat.emotes.limit-size', () =>
this.toggleEmoteJail());
this.chat.context.getChanges('chat.banners.last-events', val =>
this.css_tweaks.toggleHide('last-x-events', ! val));
this.chat.context.getChanges('chat.input.show-mod-view', val =>
this.css_tweaks.toggleHide('mod-view', ! val));