Update Hangover Avalonia to v11-rc1
This commit is contained in:
parent
87b695b2de
commit
d4bf13b3fd
@ -2,6 +2,7 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<TargetFramework>net7.0</TargetFramework>
|
<TargetFramework>net7.0</TargetFramework>
|
||||||
|
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||||
<!--Avalonia doesen't support TrimMode=link currently,but we are working on that https://github.com/AvaloniaUI/Avalonia/issues/6892 -->
|
<!--Avalonia doesen't support TrimMode=link currently,but we are working on that https://github.com/AvaloniaUI/Avalonia/issues/6892 -->
|
||||||
<TrimMode>copyused</TrimMode>
|
<TrimMode>copyused</TrimMode>
|
||||||
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
||||||
@ -66,13 +67,13 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
||||||
<PackageReference Include="Avalonia" Version="11.0.0-preview8" />
|
<PackageReference Include="Avalonia" Version="11.0.0-rc1.1" />
|
||||||
<PackageReference Include="Avalonia.Desktop" Version="11.0.0-preview8" />
|
<PackageReference Include="Avalonia.Desktop" Version="11.0.0-rc1.1" />
|
||||||
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
<!--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-preview8" />
|
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.0-rc1.1" />
|
||||||
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.0-preview8" />
|
<PackageReference Include="Avalonia.ReactiveUI" Version="11.0.0-rc1.1" />
|
||||||
<PackageReference Include="Avalonia.Controls.ItemsRepeater" Version="11.0.0-preview8" />
|
<PackageReference Include="Avalonia.Controls.ItemsRepeater" Version="11.0.0-rc1.1" />
|
||||||
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.0-preview8" />
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.0-rc1.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\HangoverBase\HangoverBase.csproj" />
|
<ProjectReference Include="..\HangoverBase\HangoverBase.csproj" />
|
||||||
|
|||||||
@ -7,7 +7,8 @@ namespace LibationAvalonia.Controls
|
|||||||
{
|
{
|
||||||
public partial class WheelComboBox : ComboBox, IStyleable
|
public partial class WheelComboBox : ComboBox, IStyleable
|
||||||
{
|
{
|
||||||
Type IStyleable.StyleKey => typeof(ComboBox);
|
protected override Type StyleKeyOverride => typeof(ComboBox);
|
||||||
|
|
||||||
public WheelComboBox()
|
public WheelComboBox()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|||||||
@ -213,7 +213,7 @@ namespace LibationFileManager
|
|||||||
{ TemplateTags.LanguageShort, lb =>lb.Language, getLanguageShort },
|
{ TemplateTags.LanguageShort, lb =>lb.Language, getLanguageShort },
|
||||||
{ TemplateTags.Bitrate, lb => (int?)(lb.IsPodcastParent ? null : lb.BitRate) },
|
{ TemplateTags.Bitrate, lb => (int?)(lb.IsPodcastParent ? null : lb.BitRate) },
|
||||||
{ TemplateTags.SampleRate, lb => (int?)(lb.IsPodcastParent ? null : lb.SampleRate) },
|
{ TemplateTags.SampleRate, lb => (int?)(lb.IsPodcastParent ? null : lb.SampleRate) },
|
||||||
{ TemplateTags.Channels, lb => (int?)(lb.IsPodcastParent ? null :lb.Channels) },
|
{ TemplateTags.Channels, lb => (int?)(lb.IsPodcastParent ? null : lb.Channels) },
|
||||||
{ TemplateTags.Account, lb => lb.Account },
|
{ TemplateTags.Account, lb => lb.Account },
|
||||||
{ TemplateTags.Locale, lb => lb.Locale },
|
{ TemplateTags.Locale, lb => lb.Locale },
|
||||||
{ TemplateTags.YearPublished, lb => lb.YearPublished },
|
{ TemplateTags.YearPublished, lb => lb.YearPublished },
|
||||||
@ -242,9 +242,9 @@ namespace LibationFileManager
|
|||||||
|
|
||||||
private static readonly ConditionalTagCollection<LibraryBookDto> conditionalTags = new()
|
private static readonly ConditionalTagCollection<LibraryBookDto> conditionalTags = new()
|
||||||
{
|
{
|
||||||
{ TemplateTags.IfSeries, lb => lb.IsSeries },
|
{ TemplateTags.IfSeries, lb => lb.IsSeries || lb.IsPodcastParent },
|
||||||
{ TemplateTags.IfPodcast, lb => lb.IsPodcast },
|
{ TemplateTags.IfPodcast, lb => lb.IsPodcast || lb.IsPodcastParent },
|
||||||
{ TemplateTags.IfBookseries, lb => lb.IsSeries && !lb.IsPodcast&& !lb.IsPodcastParent },
|
{ TemplateTags.IfBookseries, lb => lb.IsSeries && !lb.IsPodcast && !lb.IsPodcastParent },
|
||||||
};
|
};
|
||||||
|
|
||||||
private static readonly ConditionalTagCollection<LibraryBookDto> folderConditionalTags = new()
|
private static readonly ConditionalTagCollection<LibraryBookDto> folderConditionalTags = new()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user