From: lx-s Date: Tue, 6 Feb 2024 12:52:57 +0000 (+0100) Subject: Fixed update check X-Git-Tag: 2.5.0.0 X-Git-Url: https://repos.lx-s.de/gitweb/?a=commitdiff_plain;h=298f5a5d41aa4d27f397d640f38436ddc72d83f8;p=winmute.git Fixed update check --- diff --git a/WinMute/WinMute.cpp b/WinMute/WinMute.cpp index ce48df9..1bdd332 100644 --- a/WinMute/WinMute.cpp +++ b/WinMute/WinMute.cpp @@ -426,10 +426,10 @@ void WinMute::CheckForUpdatesAsync(std::unique_ptr 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));