1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-25 03:58:30 +00:00

4.0.0-rc15.3

* Added: Option to hide offline channels in the sidebar. (Thanks, pstengel.)
* Fixed: Tab-completion of emotes.
This commit is contained in:
SirStendec 2019-03-26 17:37:00 -04:00
parent 14918c6cdc
commit b9daa659f4
3 changed files with 14 additions and 14 deletions

View file

@ -119,6 +119,16 @@ export default class CSSTweaks extends Module {
changed: val => this.toggleHide('side-rec-friends', !val)
});
this.settings.add('layout.side-nav.hide-offline', {
default: false,
ui: {
path: 'Appearance > Layout >> Side Navigation',
title: 'Hide Offline Channels',
component: 'setting-check-box'
},
changed: val => this.toggleHide('side-offline-channels', val)
});
this.settings.add('layout.swap-sidebars', {
default: false,
ui: {
@ -131,16 +141,6 @@ export default class CSSTweaks extends Module {
changed: val => this.toggle('swap-sidebars', val)
});
this.settings.add('layout.hide-offline-channels', {
default: false,
ui: {
path: 'Appearance > Layout >> Side Navigation',
title: 'Hide Offline Channels',
component: 'setting-check-box'
},
changed: val => this.toggleHide('side-offline-channels', val)
});
this.settings.add('layout.minimal-navigation', {
requires: ['layout.theatre-navigation'],
default: false,
@ -226,7 +226,7 @@ export default class CSSTweaks extends Module {
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('side-offline-channels', !this.settings.get('layout.hide-offline-channels'));
this.toggleHide('side-offline-channels', this.settings.get('layout.side-nav.hide-offline'));
this.toggleHide('prime-offers', !this.settings.get('layout.prime-offers'));
this.toggleHide('top-discover', !this.settings.get('layout.discover'));