Skip to content

Commit

Permalink
upgraded to avalonia 11 (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
vikkio88 authored Oct 30, 2022
1 parent 243622a commit 8edc118
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Muscurdi/ViewModels/AddViewModels.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class AddViewModel : ReactiveObject, IRoutableViewModel
{
public IScreen HostScreen { get; }
public string UrlPathSegment { get; } = "Add";
public ReactiveCommand<Unit, Unit> Back { get; }
public ReactiveCommand<Unit, IRoutableViewModel> Back { get; }

private string _name = string.Empty;
public string Name { get => _name; set => this.RaiseAndSetIfChanged(ref _name, value); }
Expand Down
9 changes: 5 additions & 4 deletions Muscurdi/muscurdi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@
<TrimmableAssembly Include="Avalonia.Themes.Default" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="0.10.14" />
<PackageReference Include="Avalonia.Desktop" Version="0.10.14" />
<PackageReference Include="Avalonia" Version="11.0.0-preview3" />
<PackageReference Include="Avalonia.Desktop" Version="11.0.0-preview3" />
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="0.10.14" />
<PackageReference Include="Avalonia.ReactiveUI" Version="0.10.14" />
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.0-preview3" />
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.0-preview3" />
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.0-preview3" />
<PackageReference Include="Bogus" Version="34.0.2" />
<PackageReference Include="LiteDb" Version="5.0.12" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
Expand Down

0 comments on commit 8edc118

Please sign in to comment.