From 738d50dd432b4270798d712656bceba677577309 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Wed, 26 Jan 2022 18:44:31 -0500 Subject: add setting to not show unread stuff --- src/settings.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/settings.cpp') diff --git a/src/settings.cpp b/src/settings.cpp index 999d323..9435999 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -47,6 +47,7 @@ void SettingsManager::ReadSettings() { SMBOOL("gui", "owner_crown", ShowOwnerCrown); SMBOOL("gui", "save_state", SaveState); SMBOOL("gui", "stock_emojis", ShowStockEmojis); + SMBOOL("gui", "unreads", Unreads); SMINT("http", "concurrent", CacheHTTPConcurrency); SMSTR("http", "user_agent", UserAgent); SMSTR("style", "expandercolor", ChannelsExpanderColor); @@ -98,6 +99,7 @@ void SettingsManager::Close() { SMBOOL("gui", "owner_crown", ShowOwnerCrown); SMBOOL("gui", "save_state", SaveState); SMBOOL("gui", "stock_emojis", ShowStockEmojis); + SMBOOL("gui", "unreads", Unreads); SMINT("http", "concurrent", CacheHTTPConcurrency); SMSTR("http", "user_agent", UserAgent); SMSTR("style", "expandercolor", ChannelsExpanderColor); -- cgit v1.2.3