Explorar o código

UI: Hide act. feed by default if prev ver below 23.1

jp9000 %!s(int64=6) %!d(string=hai) anos
pai
achega
81354a9903
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      UI/auth-twitch.cpp

+ 1 - 2
UI/auth-twitch.cpp

@@ -365,8 +365,7 @@ void TwitchAuth::LoadSecondaryUIPanes()
 		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)) {
+		if (lastVersion < MAKE_SEMANTIC_VERSION(23, 1, 0)) {
 			feed->setVisible(false);
 		}