- tweak: style thinks
This commit is contained in:
@@ -24,8 +24,7 @@ public sealed partial class EditServerNameViewModel : PopupViewModelBase
|
||||
|
||||
if (string.IsNullOrWhiteSpace(NameInput))
|
||||
{
|
||||
RemoveServerName();
|
||||
Dispose();
|
||||
OnClear();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -33,6 +32,12 @@ public sealed partial class EditServerNameViewModel : PopupViewModelBase
|
||||
Dispose();
|
||||
}
|
||||
|
||||
public void OnClear()
|
||||
{
|
||||
RemoveServerName();
|
||||
Dispose();
|
||||
}
|
||||
|
||||
private void AddServerName()
|
||||
{
|
||||
var currentNames = ConfigurationService.GetConfigValue(LauncherConVar.ServerCustomNames)!;
|
||||
|
||||
Reference in New Issue
Block a user