- tweak: Change views logic
This commit is contained in:
19
Nebula.Launcher/Views/ServerEntryView.axaml.cs
Normal file
19
Nebula.Launcher/Views/ServerEntryView.axaml.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using Avalonia;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Markup.Xaml;
|
||||
using Nebula.Launcher.ViewModels;
|
||||
|
||||
namespace Nebula.Launcher.Views;
|
||||
|
||||
public partial class ServerEntryView : UserControl
|
||||
{
|
||||
public ServerEntryView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public ServerEntryView(ServerEntryModelView modelView) : this()
|
||||
{
|
||||
DataContext = modelView;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user