From a4d0cd9612dfa8b60fed63f1088b59b1762d217a Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 20 Jul 2021 17:55:03 -0400 Subject: color nsfw channels --- settings.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'settings.cpp') diff --git a/settings.cpp b/settings.cpp index 2974dca..dadd485 100644 --- a/settings.cpp +++ b/settings.cpp @@ -63,11 +63,15 @@ bool SettingsManager::GetShowCustomEmojis() const { } std::string SettingsManager::GetLinkColor() const { - return GetSettingString("misc", "linkcolor", "rgba(40, 200, 180, 255)"); + return GetSettingString("style", "linkcolor", "rgba(40, 200, 180, 255)"); } std::string SettingsManager::GetChannelsExpanderColor() const { - return GetSettingString("misc", "expandercolor", "rgba(255, 83, 112, 255)"); + return GetSettingString("style", "expandercolor", "rgba(255, 83, 112, 255)"); +} + +std::string SettingsManager::GetNSFWChannelColor() const { + return GetSettingString("style", "nsfwchannelcolor", "#ed6666"); } int SettingsManager::GetCacheHTTPConcurrency() const { -- cgit v1.2.3