diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-07-26 02:10:56 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-07-26 02:10:56 -0400 |
commit | ede2f53ba537d13aca3f37ba4029166f780414a2 (patch) | |
tree | 5b8cb14f7097222b210d4733493192d6bb06fd7e /settings.cpp | |
parent | ea9dd29721da8c8bef126462c2ee4fd1e53d7edc (diff) | |
parent | df243a40b5febcf7b9834e66f0ade770c3b483a0 (diff) | |
download | abaddon-portaudio-ede2f53ba537d13aca3f37ba4029166f780414a2.tar.gz abaddon-portaudio-ede2f53ba537d13aca3f37ba4029166f780414a2.zip |
Merge branch 'channels-list'
Diffstat (limited to 'settings.cpp')
-rw-r--r-- | settings.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/settings.cpp b/settings.cpp index b9c18b7..96defb5 100644 --- a/settings.cpp +++ b/settings.cpp @@ -63,7 +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("style", "expandercolor", "rgba(255, 83, 112, 255)"); +} + +std::string SettingsManager::GetNSFWChannelColor() const { + return GetSettingString("style", "nsfwchannelcolor", "#ed6666"); } int SettingsManager::GetCacheHTTPConcurrency() const { @@ -93,3 +101,7 @@ std::string SettingsManager::GetGatewayURL() const { std::string SettingsManager::GetAPIBaseURL() const { return GetSettingString("discord", "api_base", "https://discord.com/api/v9"); } + +bool SettingsManager::GetAnimatedGuildHoverOnly() const { + return GetSettingBool("gui", "animated_guild_hover_only", true); +} |