refactor: use SettingWidget::dropdown for emoji style (#6300)

This commit is contained in:
pajlada
2025-06-28 12:21:47 +02:00
committed by GitHub
parent ae3089b35c
commit 847814324f
8 changed files with 37 additions and 19 deletions
+3 -8
View File
@@ -661,14 +661,9 @@ void GeneralPage::initLayout(GeneralPageView &layout)
SettingWidget::dropdown("Emote & badge thumbnail size on hover",
s.emoteTooltipScale)
->addTo(layout);
layout.addDropdown("Emoji style",
{
"Twitter",
"Facebook",
"Apple",
"Google",
},
s.emojiSet);
SettingWidget::dropdown("Emoji style", s.emojiSet)->addTo(layout);
SettingWidget::checkbox("Show BetterTTV global emotes",
s.enableBTTVGlobalEmotes)
->addKeywords({"bttv"})