Skip to content

Free, open-source Windows optimization tool for performance, privacy, and simplicity.

Fix some grammar errors

itsfatduck0db3d0f7a5f2
diff --git a/optimizerDuck/Program.cs b/optimizerDuck/Program.cs
index 9d42fa2..6c5cc6e 100644
--- a/optimizerDuck/Program.cs
+++ b/optimizerDuck/Program.cs
@@ -56,7 +56,7 @@ internal class Program
[{Theme.Muted}]You can continue if you have already confirmed your administrator status.[/]
""",
new PromptOption("Restart", Theme.Warning, () => RequirementChecker.Restart(true)),
- new PromptOption("Continue anyways", Theme.Success)
+ new PromptOption("Continue anyway", Theme.Success)
);
}
diff --git a/optimizerDuck/src/UI/Components/PromptDialog.cs b/optimizerDuck/src/UI/Components/PromptDialog.cs
index ec8c4af..340e408 100644
--- a/optimizerDuck/src/UI/Components/PromptDialog.cs
+++ b/optimizerDuck/src/UI/Components/PromptDialog.cs
@@ -80,10 +80,10 @@ public class PromptDialog
var buttonList = new List<string>();
var keyMap = new Dictionary<char, string>(); // "Yes" => Y: Yes
foreach (var (option, key, rest, color) in from option in _options
- let key = char.ToUpper(option.Key[0])
- let rest = option.Key.Substring(1)
- let color = option.Color
- select (option, key, rest, color))
+ let key = char.ToUpper(option.Key[0])
+ let rest = option.Key.Substring(1)
+ let color = option.Color
+ select (option, key, rest, color))
{
buttonList.Add($"[{color}][underline]{key}[/]{rest}[/]");
keyMap[key] = option.Key;
@@ -147,7 +147,7 @@ public class PromptDialog
? options
:
[
- new PromptOption("Continue anyways", Theme.Success),
+ new PromptOption("Continue anyway", Theme.Success),
new PromptOption("Exit", Theme.Error, () => Environment.Exit(1))
];