refactor: Simplify MainTuiView by removing architecture check for default return value

This commit is contained in:
BruceChen 2026-04-06 00:30:45 +08:00
parent b083336bf6
commit 7405aad68f

View file

@ -26,9 +26,7 @@ namespace MinecraftClient.Tui
if (configured > 0)
return configured;
bool isArm = RuntimeInformation.ProcessArchitecture
is Architecture.Arm or Architecture.Arm64;
return isArm ? 500 : 3000;
return 3000;
}
private readonly ObservableCollection<string> _logLines = new();