Add ability to hide Twitch Prediction badges (#2668)

We now properly categorize the Twitch `predictions` badges since they take up their own slot in Twitch web chat
This commit is contained in:
Paweł
2021-04-25 14:37:19 +02:00
committed by GitHub
parent 1ef2f17cd4
commit c3d61ad77b
6 changed files with 40 additions and 25 deletions
+7 -8
View File
@@ -545,16 +545,15 @@ void GeneralPage::initLayout(GeneralPageView &layout)
});
layout.addSubtitle("Visible badges");
layout.addCheckbox("Authority (staff, admin)",
getSettings()->showBadgesGlobalAuthority);
layout.addCheckbox("Authority (staff, admin)", s.showBadgesGlobalAuthority);
layout.addCheckbox("Predictions", s.showBadgesPredictions);
layout.addCheckbox("Channel (broadcaster, moderator)",
getSettings()->showBadgesChannelAuthority);
layout.addCheckbox("Subscriber ", getSettings()->showBadgesSubscription);
layout.addCheckbox("Vanity (prime, bits, subgifter)",
getSettings()->showBadgesVanity);
layout.addCheckbox("Chatterino", getSettings()->showBadgesChatterino);
s.showBadgesChannelAuthority);
layout.addCheckbox("Subscriber ", s.showBadgesSubscription);
layout.addCheckbox("Vanity (prime, bits, subgifter)", s.showBadgesVanity);
layout.addCheckbox("Chatterino", s.showBadgesChatterino);
layout.addCheckbox("FrankerFaceZ (Bot, FFZ Supporter, FFZ Developer)",
getSettings()->showBadgesFfz);
s.showBadgesFfz);
layout.addSubtitle("Miscellaneous");