]> repos.lx-s.de Git - winmute.git/commitdiff
Fixed update check 2.5.0.0
authorlx-s <lx-s@users.noreply.github.com>
Tue, 6 Feb 2024 12:52:57 +0000 (13:52 +0100)
committerlx-s <lx-s@users.noreply.github.com>
Tue, 6 Feb 2024 12:52:57 +0000 (13:52 +0100)
WinMute/WinMute.cpp

index ce48df9f2912bbf60dbc9604a449d14ee9dc66cd..1bdd332164ed346ccbdd3b02c4d8e83ad3a0f412 100644 (file)
@@ -426,10 +426,10 @@ void WinMute::CheckForUpdatesAsync(std::unique_ptr<UpdateChecker> updateChecker)
          std::make_wformat_args(updateInfo_.currentVersion));
       updateTray_.Show();
       updateTray_.ShowPopup(popupTitle, popupText);
-   } else if (updateInfo_.beta.shouldUpdate) {
+   } else if (updateInfo_.stable.shouldUpdate) {
       const std::wstring popupTitle = std::vformat(
          i18n_.GetTranslationW("popup.update-available.title"),
-         std::make_wformat_args(updateInfo_.beta.version));
+         std::make_wformat_args(updateInfo_.stable.version));
       const std::wstring popupText = std::vformat(
          i18n_.GetTranslationW("popup.update-available.text"),
          std::make_wformat_args(updateInfo_.currentVersion));