initial
This commit is contained in:
@@ -21,6 +21,6 @@
|
||||
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.0"/>
|
||||
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
||||
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.0"/>
|
||||
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.0"/>
|
||||
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using Avalonia;
|
||||
using Avalonia.ReactiveUI;
|
||||
using System;
|
||||
|
||||
namespace AutumnLauncher.UI;
|
||||
@@ -18,6 +17,5 @@ class Program
|
||||
=> AppBuilder.Configure<App>()
|
||||
.UsePlatformDetect()
|
||||
.WithInterFont()
|
||||
.LogToTrace()
|
||||
.UseReactiveUI();
|
||||
}
|
||||
.LogToTrace();
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace AutumnLauncher.UI.ViewModels;
|
||||
|
||||
public class MainWindowViewModel : ViewModelBase
|
||||
public partial class MainWindowViewModel : ViewModelBase
|
||||
{
|
||||
public string Greeting => "Welcome to Avalonia!";
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
using ReactiveUI;
|
||||
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
|
||||
namespace AutumnLauncher.UI.ViewModels;
|
||||
|
||||
public class ViewModelBase : ReactiveObject
|
||||
public class ViewModelBase : ObservableObject
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user