chore: style

[skip changelog]
This commit is contained in:
status102
2025-07-24 16:20:55 +08:00
parent e926beb206
commit 663a5beeae
3 changed files with 7 additions and 7 deletions

View File

@@ -41,6 +41,5 @@ namespace MaaWpfGui.Extensions
statusCode, method, uri?.GetLeftPart(uriPartial), etag, lastModified, elapsedMs);
}
}
}
}

View File

@@ -75,8 +75,7 @@ namespace MaaWpfGui.Models
{
DirectoryMerge(
Path.Combine(basePath, folder),
Path.Combine(Directory.GetCurrentDirectory(), folder)
);
Path.Combine(Directory.GetCurrentDirectory(), folder));
}
}
catch (Exception e)
@@ -308,7 +307,6 @@ namespace MaaWpfGui.Models
}
}
/// <summary>
/// 检查并下载资源更新。
/// </summary>

View File

@@ -194,12 +194,15 @@ namespace MaaWpfGui.Services
private static Dictionary<string, StageInfo> InitializeDefaultStages()
{
// 这里会被 “剩余理智” 复用,第一个必须是 string.Empty 的
return new() {
return new()
{
// 「当前/上次」关卡导航
{ string.Empty, new() { Display = LocalizationHelper.GetString("DefaultStage"), Value = string.Empty }},
{ string.Empty, new() { Display = LocalizationHelper.GetString("DefaultStage"), Value = string.Empty } },
// 周一和周日的关卡提示
{ "Pormpt1", new() { Tip = LocalizationHelper.GetString("Pormpt1"), OpenDays = [DayOfWeek.Monday], IsHidden = true } },
{ "Pormpt2", new() { Tip = LocalizationHelper.GetString("Pormpt2"), OpenDays = [DayOfWeek.Sunday], IsHidden = true } }, };
{ "Pormpt2", new() { Tip = LocalizationHelper.GetString("Pormpt2"), OpenDays = [DayOfWeek.Sunday], IsHidden = true } },
};
}
private static bool TryParseVersion(string? version, out SemVersion versionObj)