mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
UI: If from 23.0.1 or 23.0.0, hide activity feed
If the previous version was 23.0.0 or 23.0.1, hide activity feed by default when loading twitch panel UI.
This commit is contained in:
1 parent
7e23d1b63e
commit
8a50b28f55
1 file changed
+8
@@ -362,6 +362,14 @@ void TwitchAuth::LoadSecondaryUIPanes()
|
||||
stat->setVisible(false);
|
||||
feed->setVisible(false);
|
||||
} else {
|
||||
uint32_t lastVersion = config_get_int(App()->GlobalConfig(), "General",
|
||||
"LastVersion");
|
||||
|
||||
if (lastVersion == MAKE_SEMANTIC_VERSION(23, 0, 0) ||
|
||||
lastVersion == MAKE_SEMANTIC_VERSION(23, 0, 1)) {
|
||||
feed->setVisible(false);
|
||||
}
|
||||
|
||||
const char *dockStateStr = config_get_string(main->Config(),
|
||||
service(), "DockState");
|
||||
QByteArray dockState =
|
||||
|
||||
Reference in new issue
Block a user