Get favourites working
This commit is contained in:
@@ -86,21 +86,21 @@ public partial class Observable<TValue>(IServiceProvider provider,
|
|||||||
IMediator mediator,
|
IMediator mediator,
|
||||||
IPublisher publisher,
|
IPublisher publisher,
|
||||||
ISubscription subscriber,
|
ISubscription subscriber,
|
||||||
IDisposer disposer) : Observable(provider, factory, mediator, publisher, subscriber, disposer)
|
IDisposer disposer,
|
||||||
where TValue : notnull
|
TValue? value = default) : Observable(provider, factory, mediator, publisher, subscriber, disposer)
|
||||||
{
|
{
|
||||||
[ObservableProperty]
|
[ObservableProperty]
|
||||||
private TValue? value;
|
private TValue? value = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public partial class Observable<TKey, TValue>(IServiceProvider provider,
|
public partial class Observable<TKey, TValue>(IServiceProvider provider,
|
||||||
IServiceFactory factory,
|
IServiceFactory factory,
|
||||||
IMediator mediator,
|
IMediator mediator,
|
||||||
IPublisher publisher,
|
IPublisher publisher,
|
||||||
ISubscription subscriber,
|
ISubscription subscriber,
|
||||||
IDisposer disposer,
|
IDisposer disposer,
|
||||||
TValue? value = null) : Observable(provider, factory, mediator, publisher, subscriber, disposer)
|
TValue? value = default) : Observable(provider, factory, mediator, publisher, subscriber, disposer)
|
||||||
where TValue : class
|
|
||||||
{
|
{
|
||||||
[ObservableProperty]
|
[ObservableProperty]
|
||||||
private TKey? key;
|
private TKey? key;
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
<Styles xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||||
<Styles.Resources>
|
<Styles.Resources>
|
||||||
<ResourceDictionary>
|
<ResourceDictionary>
|
||||||
<FontFamily x:Key="FluentThemeFontFamily">/Fonts/#FluentSystemIcons-Regular</FontFamily>
|
<FontFamily x:Key="FluentThemeFontFamily">/Fonts/#FluentSystemIcons-Resizable</FontFamily>
|
||||||
<ResourceDictionary.MergedDictionaries>
|
<ResourceDictionary.MergedDictionaries>
|
||||||
<MergeResourceInclude Source="../CarouselView/CarouselView.axaml" />
|
<MergeResourceInclude Source="../CarouselView/CarouselView.axaml" />
|
||||||
<MergeResourceInclude Source="../ContentDialog/ContentDialog.axaml" />
|
<MergeResourceInclude Source="../ContentDialog/ContentDialog.axaml" />
|
||||||
|
|||||||
@@ -6,10 +6,10 @@
|
|||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Remove="Fonts\FluentSystemIcons-Regular.ttf" />
|
<None Remove="Fonts\FluentSystemIcons-Resizable.ttf" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<AvaloniaResource Include="Fonts\FluentSystemIcons-Regular.ttf" />
|
<AvaloniaResource Include="Fonts\FluentSystemIcons-Resizable.ttf" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Avalonia" Version="11.2.999-cibuild0048140-alpha" />
|
<PackageReference Include="Avalonia" Version="11.2.999-cibuild0048140-alpha" />
|
||||||
|
|||||||
Reference in New Issue
Block a user