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.master
parent
7e23d1b63e
commit
8a50b28f55
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue