diff --git a/Source/HangoverAvalonia/HangoverAvalonia.csproj b/Source/HangoverAvalonia/HangoverAvalonia.csproj index 676b4164..fdc5bd73 100644 --- a/Source/HangoverAvalonia/HangoverAvalonia.csproj +++ b/Source/HangoverAvalonia/HangoverAvalonia.csproj @@ -2,6 +2,7 @@ WinExe net7.0 + win-x64 copyused true @@ -66,13 +67,13 @@ - - + + - - - - + + + + diff --git a/Source/LibationAvalonia/Controls/WheelComboBox.axaml.cs b/Source/LibationAvalonia/Controls/WheelComboBox.axaml.cs index ec19da90..d3938506 100644 --- a/Source/LibationAvalonia/Controls/WheelComboBox.axaml.cs +++ b/Source/LibationAvalonia/Controls/WheelComboBox.axaml.cs @@ -7,7 +7,8 @@ namespace LibationAvalonia.Controls { public partial class WheelComboBox : ComboBox, IStyleable { - Type IStyleable.StyleKey => typeof(ComboBox); + protected override Type StyleKeyOverride => typeof(ComboBox); + public WheelComboBox() { InitializeComponent(); diff --git a/Source/LibationFileManager/Templates.cs b/Source/LibationFileManager/Templates.cs index f3901ed0..e416d3b1 100644 --- a/Source/LibationFileManager/Templates.cs +++ b/Source/LibationFileManager/Templates.cs @@ -213,7 +213,7 @@ namespace LibationFileManager { TemplateTags.LanguageShort, lb =>lb.Language, getLanguageShort }, { TemplateTags.Bitrate, lb => (int?)(lb.IsPodcastParent ? null : lb.BitRate) }, { 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.Locale, lb => lb.Locale }, { TemplateTags.YearPublished, lb => lb.YearPublished }, @@ -242,9 +242,9 @@ namespace LibationFileManager private static readonly ConditionalTagCollection conditionalTags = new() { - { TemplateTags.IfSeries, lb => lb.IsSeries }, - { TemplateTags.IfPodcast, lb => lb.IsPodcast }, - { TemplateTags.IfBookseries, lb => lb.IsSeries && !lb.IsPodcast&& !lb.IsPodcastParent }, + { TemplateTags.IfSeries, lb => lb.IsSeries || lb.IsPodcastParent }, + { TemplateTags.IfPodcast, lb => lb.IsPodcast || lb.IsPodcastParent }, + { TemplateTags.IfBookseries, lb => lb.IsSeries && !lb.IsPodcast && !lb.IsPodcastParent }, }; private static readonly ConditionalTagCollection folderConditionalTags = new()