1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-16 18:06:55 +00:00

4.0.0-rc8.5

* Added: Separate setting for hiding the Get Bits button in the site header without hiding the bits UI in chat.
* Added: Setting to hide avatars in the side navigation bar.
* Fixed: Do not inject FFZ into the Extension Testing Rig.
This commit is contained in:
SirStendec 2018-07-24 13:52:11 -04:00
parent 30519a7377
commit 154a587c87
5 changed files with 43 additions and 5 deletions

View file

@ -73,6 +73,16 @@ export default class CSSTweaks extends Module {
changed: val => this.toggleHide('side-nav', !val)
});
this.settings.add('layout.side-nav.show-avatars', {
default: true,
ui: {
path: 'Appearance > Layout >> Side Navigation',
title: 'Display Channel Avatars',
component: 'setting-check-box'
},
changed: val => this.toggle('hide-side-nav-avatars', !val)
});
this.settings.add('layout.side-nav.show-rec-channels', {
default: 1,
ui: {
@ -204,6 +214,7 @@ export default class CSSTweaks extends Module {
this.toggle('theatre-nav', this.settings.get('layout.theatre-navigation'));
//this.toggle('portrait', this.settings.get('layout.portrait'));
this.toggle('hide-side-nav-avatars', ! this.settings.get('layout.side-nav.show-avatars'));
this.toggleHide('side-nav', !this.settings.get('layout.side-nav.show'));
this.toggleHide('side-rec-friends', !this.settings.get('layout.side-nav.show-rec-friends'));
this.toggleHide('prime-offers', !this.settings.get('layout.prime-offers'));