mirror of
https://github.com/sp-tarkov/launcher.git
synced 2025-02-13 09:50:43 -05:00
31 lines
711 B
C#
31 lines
711 B
C#
using SPT.Launcher.ViewModels;
|
|
using Avalonia;
|
|
using Avalonia.Controls.Notifications;
|
|
using Avalonia.Markup.Xaml;
|
|
using Avalonia.Media;
|
|
using Avalonia.ReactiveUI;
|
|
using Splat;
|
|
|
|
namespace SPT.Launcher.Views
|
|
{
|
|
public partial class MainWindow : ReactiveWindow<MainWindowViewModel>
|
|
{
|
|
public MainWindow()
|
|
{
|
|
InitializeComponent();
|
|
#if DEBUG
|
|
this.AttachDevTools();
|
|
#endif
|
|
|
|
WindowNotificationManager notificationManager = new WindowNotificationManager(this);
|
|
|
|
Locator.CurrentMutable.RegisterConstant(notificationManager);
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
AvaloniaXamlLoader.Load(this);
|
|
}
|
|
}
|
|
}
|