Moved turbo badge to vanity

This commit is contained in:
apa420 2019-01-23 17:52:53 +01:00
parent 9629322ce7
commit bb840da988
2 changed files with 8 additions and 8 deletions

View file

@ -1123,13 +1123,6 @@ void TwitchMessageBuilder::appendTwitchBadges()
MessageElementFlag::BadgeChannelAuthority)
->setTooltip("Twitch Channel Moderator");
}
else if (badge == "turbo/1")
{
this->emplace<ImageElement>(
Image::fromPixmap(app->resources->twitch.turbo),
MessageElementFlag::BadgeGlobalAuthority)
->setTooltip("Twitch Turbo Subscriber");
}
else if (badge == "broadcaster/1")
{
this->emplace<ImageElement>(
@ -1137,6 +1130,13 @@ void TwitchMessageBuilder::appendTwitchBadges()
MessageElementFlag::BadgeChannelAuthority)
->setTooltip("Twitch Broadcaster");
}
else if (badge == "turbo/1")
{
this->emplace<ImageElement>(
Image::fromPixmap(app->resources->twitch.turbo),
MessageElementFlag::BadgeVanity)
->setTooltip("Twitch Turbo Subscriber");
}
else if (badge == "premium/1")
{
this->emplace<ImageElement>(

View file

@ -230,7 +230,7 @@ void GeneralPage::initLayout(SettingsLayout &layout)
s.emojiSet);
layout.addTitle("Badges");
layout.addCheckbox("Show authority badges (staff, admin, turbo, etc)",
layout.addCheckbox("Show authority badges (staff, admin)",
getSettings()->showBadgesGlobalAuthority);
layout.addCheckbox("Show channel badges (broadcaster, moderator)",
getSettings()->showBadgesChannelAuthority);