mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Moved turbo badge to vanity
This commit is contained in:
parent
9629322ce7
commit
bb840da988
|
@ -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>(
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue