Get favourites working
This commit is contained in:
@@ -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;
|
||||
|
||||
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.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" />
|
||||
|
||||
Reference in New Issue
Block a user