Get favourites working

This commit is contained in:
TheXamlGuy
2024-05-19 17:52:15 +01:00
parent 718a1f92ca
commit 72a37c7275
5 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -86,21 +86,21 @@ public partial class Observable<TValue>(IServiceProvider provider,
IMediator mediator,
IPublisher publisher,
ISubscription subscriber,
IDisposer disposer) : Observable(provider, factory, mediator, publisher, subscriber, disposer)
where TValue : notnull
IDisposer disposer,
TValue? value = default) : Observable(provider, factory, mediator, publisher, subscriber, disposer)
{
[ObservableProperty]
private TValue? value;
private TValue? value = value;
}
public partial class Observable<TKey, TValue>(IServiceProvider provider,
IServiceFactory factory,
IMediator mediator,
IPublisher publisher,
ISubscription subscriber,
IDisposer disposer,
TValue? value = null) : Observable(provider, factory, mediator, publisher, subscriber, disposer)
where TValue : class
TValue? value = default) : Observable(provider, factory, mediator, publisher, subscriber, disposer)
{
[ObservableProperty]
private TKey? key;
@@ -1,7 +1,7 @@
<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Styles.Resources>
<ResourceDictionary>
<FontFamily x:Key="FluentThemeFontFamily">/Fonts/#FluentSystemIcons-Regular</FontFamily>
<FontFamily x:Key="FluentThemeFontFamily">/Fonts/#FluentSystemIcons-Resizable</FontFamily>
<ResourceDictionary.MergedDictionaries>
<MergeResourceInclude Source="../CarouselView/CarouselView.axaml" />
<MergeResourceInclude Source="../ContentDialog/ContentDialog.axaml" />
@@ -6,10 +6,10 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<None Remove="Fonts\FluentSystemIcons-Regular.ttf" />
<None Remove="Fonts\FluentSystemIcons-Resizable.ttf" />
</ItemGroup>
<ItemGroup>
<AvaloniaResource Include="Fonts\FluentSystemIcons-Regular.ttf" />
<AvaloniaResource Include="Fonts\FluentSystemIcons-Resizable.ttf" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Avalonia" Version="11.2.999-cibuild0048140-alpha" />