chore: 修改存在更新时的问题反馈界面描述

This commit is contained in:
uye
2025-04-20 20:50:41 +08:00
parent 446ec8b8f6
commit fafd1970be
9 changed files with 33 additions and 15 deletions

View File

@@ -82,7 +82,6 @@ public class VersionUpdateViewModel : Screen
{
SetAndNotify(ref _updateTag, value);
ConfigurationHelper.SetGlobalValue(ConfigurationKeys.VersionName, value);
SettingsViewModel.VersionUpdateSettings.NewVersionFoundInfo = value;
}
}
@@ -536,6 +535,7 @@ public class VersionUpdateViewModel : Screen
// 保存新版本的信息
var name = _latestJson?["name"]?.ToString();
UpdateTag = string.IsNullOrEmpty(name) ? (_latestJson?["tag_name"]?.ToString() ?? string.Empty) : name;
SettingsViewModel.VersionUpdateSettings.NewVersionFoundInfo = $"{LocalizationHelper.GetString("NewVersionFoundTitle")}: {UpdateTag}";
var body = _latestJson?["body"]?.ToString() ?? string.Empty;
if (string.IsNullOrEmpty(body))
{
@@ -730,6 +730,7 @@ public class VersionUpdateViewModel : Screen
UpdateTag = _mirrorcVersionName ?? string.Empty;
UpdateInfo = _mirrorcReleaseNote ?? string.Empty;
SettingsViewModel.VersionUpdateSettings.NewVersionFoundInfo = $"{LocalizationHelper.GetString("NewVersionFoundTitle")}: {UpdateTag}";
bool goDownload = SettingsViewModel.VersionUpdateSettings.AutoDownloadUpdatePackage;
if (!goDownload)