Make winui core library aot compatible.
This commit is contained in:
@@ -129,7 +129,8 @@ public class ThumbnailService(IPreferencesService preferencesService, IDatabaseS
|
||||
Gravatar = gravatarBase64,
|
||||
Favicon = faviconBase64,
|
||||
LastUpdated = DateTime.UtcNow
|
||||
});
|
||||
}, typeof(Thumbnail));
|
||||
|
||||
_ = _cache.TryAdd(email, (gravatarBase64, faviconBase64));
|
||||
|
||||
WeakReferenceMessenger.Default.Send(new ThumbnailAdded(email));
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Wino.Core.WinUI.Styles;
|
||||
|
||||
partial class CustomMessageDialogStyles : ResourceDictionary
|
||||
public partial class CustomMessageDialogStyles : ResourceDictionary
|
||||
{
|
||||
public CustomMessageDialogStyles()
|
||||
{
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<IsTrimmable>true</IsTrimmable>
|
||||
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Assets\FileTypes\type_archive.png" />
|
||||
|
||||
Reference in New Issue
Block a user