diff --git a/Content.Client/MainMenu/UI/MainMenuControl.xaml b/Content.Client/MainMenu/UI/MainMenuControl.xaml
index 671519adc9..16a8cc267a 100644
--- a/Content.Client/MainMenu/UI/MainMenuControl.xaml
+++ b/Content.Client/MainMenu/UI/MainMenuControl.xaml
@@ -41,6 +41,5 @@
Name="ChangelogButton"
Access="Public"/>
-
diff --git a/Content.Client/MainMenu/UI/MainMenuControl.xaml.cs b/Content.Client/MainMenu/UI/MainMenuControl.xaml.cs
index e9e90288c6..1d5244305d 100644
--- a/Content.Client/MainMenu/UI/MainMenuControl.xaml.cs
+++ b/Content.Client/MainMenu/UI/MainMenuControl.xaml.cs
@@ -6,31 +6,26 @@ using Robust.Client.UserInterface.XAML;
using Robust.Shared;
using Robust.Shared.Configuration;
-namespace Content.Client.MainMenu.UI
+namespace Content.Client.MainMenu.UI;
+
+[GenerateTypedNameReferences]
+public sealed partial class MainMenuControl : Control
{
- [GenerateTypedNameReferences]
- public sealed partial class MainMenuControl : Control
- {
- public MainMenuControl(IResourceCache resCache, IConfigurationManager configMan)
- {
- RobustXamlLoader.Load(this);
+ public MainMenuControl(IResourceCache resCache, IConfigurationManager configMan)
+ {
+ RobustXamlLoader.Load(this);
- LayoutContainer.SetAnchorPreset(this, LayoutContainer.LayoutPreset.Wide);
+ LayoutContainer.SetAnchorPreset(this, LayoutContainer.LayoutPreset.Wide);
- LayoutContainer.SetAnchorPreset(VBox, LayoutContainer.LayoutPreset.TopRight);
- LayoutContainer.SetMarginRight(VBox, -25);
- LayoutContainer.SetMarginTop(VBox, 30);
- LayoutContainer.SetGrowHorizontal(VBox, LayoutContainer.GrowDirection.Begin);
+ LayoutContainer.SetAnchorPreset(VBox, LayoutContainer.LayoutPreset.TopRight);
+ LayoutContainer.SetMarginRight(VBox, -25);
+ LayoutContainer.SetMarginTop(VBox, 30);
+ LayoutContainer.SetGrowHorizontal(VBox, LayoutContainer.GrowDirection.Begin);
- var logoTexture = resCache.GetResource("/Textures/Logo/logo.png");
- Logo.Texture = logoTexture;
+ var logoTexture = resCache.GetResource("/Textures/Logo/logo.png");
+ Logo.Texture = logoTexture;
- var currentUserName = configMan.GetCVar(CVars.PlayerName);
- UsernameBox.Text = currentUserName;
-
- LayoutContainer.SetAnchorPreset(VersionLabel, LayoutContainer.LayoutPreset.BottomRight);
- LayoutContainer.SetGrowHorizontal(VersionLabel, LayoutContainer.GrowDirection.Begin);
- LayoutContainer.SetGrowVertical(VersionLabel, LayoutContainer.GrowDirection.Begin);
- }
- }
+ var currentUserName = configMan.GetCVar(CVars.PlayerName);
+ UsernameBox.Text = currentUserName;
+ }
}