[fix] fix version check issue

This commit is contained in:
dijunkun
2025-11-12 00:21:18 +08:00
parent 941b5e5cdc
commit adb6cee326
4 changed files with 6 additions and 4 deletions

View File

@@ -70,7 +70,7 @@ int Render::AboutWindow() {
": CrossDesk v" + version;
ImGui::Text("%s", text.c_str());
if (!latest_version_.empty()) {
if (update_available_) {
std::string latest_version =
localization::new_version_available[localization_language_index_] +
": " + latest_version_;