From 1f445742b4fbc185fe0e24d9ed2478e4f7495f53 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 4 Nov 2021 01:39:56 -0400 Subject: preserve channel list expansion and active channel (#36) also check getenv in platform --- settings.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'settings.cpp') diff --git a/settings.cpp b/settings.cpp index f753cc1..0a7dbb7 100644 --- a/settings.cpp +++ b/settings.cpp @@ -109,3 +109,7 @@ std::string SettingsManager::GetAPIBaseURL() const { bool SettingsManager::GetAnimatedGuildHoverOnly() const { return GetSettingBool("gui", "animated_guild_hover_only", true); } + +bool SettingsManager::GetSaveState() const { + return GetSettingBool("gui", "save_state", true); +} -- cgit v1.2.3