1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-10 00:00:53 +00:00

Add simple flag to all settings designated for simple view

This commit is contained in:
Dan Salvato 2024-02-07 18:48:21 -07:00
parent f4febe6ee0
commit 603aec04d6
14 changed files with 94 additions and 42 deletions

View file

@ -195,6 +195,7 @@ export default class CSSTweaks extends Module {
path: 'Appearance > Layout >> Side Navigation',
title: 'Display Recommended / Popular Channels',
component: 'setting-select-box',
simple: true,
data: [
{value: 0, title: 'Never'},
{value: 1, title: 'Always'},
@ -213,6 +214,7 @@ export default class CSSTweaks extends Module {
path: 'Appearance > Layout >> Side Navigation',
title: 'Display Online Friends',
component: 'setting-select-box',
simple: true,
data: [
{value: 0, title: 'Never'},
{value: 1, title: 'Always'},
@ -240,7 +242,8 @@ export default class CSSTweaks extends Module {
ui: {
path: 'Appearance > Layout >> Side Navigation',
title: 'Hide Offline Channels',
component: 'setting-check-box'
component: 'setting-check-box',
simple: true
},
changed: val => this.toggleHide('side-offline-channels', val)
});
@ -251,6 +254,7 @@ export default class CSSTweaks extends Module {
path: 'Appearance > Layout >> Side Navigation',
title: 'Display Reruns',
component: 'setting-select-box',
simple: true,
data: [
{value: 0, title: 'Do Not Display'},
{value: 1, title: 'Normally'},
@ -349,7 +353,8 @@ export default class CSSTweaks extends Module {
ui: {
path: 'Appearance > Layout >> Top Navigation',
title: 'Allow the Twitch Turbo button to appear.',
component: 'setting-check-box'
component: 'setting-check-box',
simple: true
}
});
@ -358,7 +363,8 @@ export default class CSSTweaks extends Module {
ui: {
path: 'Appearance > Layout >> Top Navigation',
title: 'Show Prime Gaming Loot.',
component: 'setting-check-box'
component: 'setting-check-box',
simple: true
},
changed: val => this.toggleHide('prime-offers', !val)
});
@ -380,7 +386,8 @@ export default class CSSTweaks extends Module {
ui: {
path: 'Chat > Whispers >> General',
title: 'Display Whispers',
component: 'setting-check-box'
component: 'setting-check-box',
simple: true
},
changed: val => {
this.toggleHide('whispers', !val);
@ -393,7 +400,8 @@ export default class CSSTweaks extends Module {
ui: {
path: 'Chat > Hype Chat >> Appearance',
title: 'Allow Hype Chat messages to appear pinned at the top of chat.',
component: 'setting-check-box'
component: 'setting-check-box',
simple: true
},
changed: val => this.toggleHide('pinned-hype-chat', ! val)
});
@ -405,7 +413,8 @@ export default class CSSTweaks extends Module {
path: 'Chat > Bits and Cheering >> Appearance',
title: 'Display Bits',
description: 'Display UI associated with bits. Note: This will not hide cheering in chat messages.',
component: 'setting-check-box'
component: 'setting-check-box',
simple: true
},
changed: val => this.toggle('hide-bits', !val)
});