fix: disable signing and address WinUI compile blockers
This commit is contained in:
@@ -13,11 +13,11 @@ namespace Wino.Calendar.Controls;
|
||||
|
||||
public partial class CalendarItemCommandBarFlyout : CommandBarFlyout
|
||||
{
|
||||
private readonly RelayCommand<CalendarContextMenuAction> _executeActionCommand;
|
||||
private readonly RelayCommand<CalendarContextMenuAction?> _executeActionCommand;
|
||||
|
||||
public CalendarItemCommandBarFlyout()
|
||||
{
|
||||
_executeActionCommand = new RelayCommand<CalendarContextMenuAction>(ExecuteAction);
|
||||
_executeActionCommand = new RelayCommand<CalendarContextMenuAction?>(ExecuteAction);
|
||||
}
|
||||
|
||||
public CalendarItemViewModel? Item { get; set; }
|
||||
@@ -98,10 +98,10 @@ public partial class CalendarItemCommandBarFlyout : CommandBarFlyout
|
||||
}
|
||||
}
|
||||
|
||||
private void ExecuteAction(CalendarContextMenuAction action)
|
||||
private void ExecuteAction(CalendarContextMenuAction? action)
|
||||
{
|
||||
// We don't want to trigger any action or hide the flyout if it's a sub menu item.
|
||||
if (Item == null || (action.ShowAs == null && action.ResponseStatus == null && action.TargetType == null))
|
||||
if (Item == null || action == null || (action.ShowAs == null && action.ResponseStatus == null && action.TargetType == null))
|
||||
return;
|
||||
|
||||
WeakReferenceMessenger.Default.Send(new CalendarItemContextActionRequestedMessage(Item, action));
|
||||
|
||||
@@ -84,10 +84,10 @@
|
||||
</ResourceDictionary.ThemeDictionaries>
|
||||
|
||||
<x:Double x:Key="InfoBarTitleFontSize">14</x:Double>
|
||||
<FontWeight x:Key="InfoBarTitleFontWeight">SemiBold</FontWeight>
|
||||
<x:String x:Key="InfoBarTitleFontWeight">SemiBold</x:String>
|
||||
|
||||
<x:Double x:Key="InfoBarMessageFontSize">14</x:Double>
|
||||
<FontWeight x:Key="InfoBarMessageFontWeight">Normal</FontWeight>
|
||||
<x:String x:Key="InfoBarMessageFontWeight">Normal</x:String>
|
||||
|
||||
<x:Double x:Key="InfoBarMinHeight">48</x:Double>
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
<Platform Condition="'$(Platform)' == '' or '$(Platform)' == 'AnyCPU'">x64</Platform>
|
||||
<Platforms>x86;x64;ARM64</Platforms>
|
||||
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
|
||||
<PublishProfile>win-$(Platform).pubxml</PublishProfile>
|
||||
<UseWinUI>true</UseWinUI>
|
||||
<EnableMsixTooling>true</EnableMsixTooling>
|
||||
<!-- Bundle the Windows App SDK and .NET runtime into per-architecture MSIX outputs. -->
|
||||
@@ -371,13 +370,12 @@
|
||||
<PropertyGroup>
|
||||
<GenerateTemporaryStoreCertificate>True</GenerateTemporaryStoreCertificate>
|
||||
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
|
||||
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
|
||||
<AppxPackageSigningEnabled>False</AppxPackageSigningEnabled>
|
||||
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
|
||||
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
|
||||
<GenerateTestArtifacts>True</GenerateTestArtifacts>
|
||||
<AppxBundle>Always</AppxBundle>
|
||||
<AppxBundlePlatforms>x86|x64|arm64</AppxBundlePlatforms>
|
||||
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
|
||||
<PackageCertificateThumbprint>4D0220C9CA6C704D170471B1A2335F76F94EB9DC</PackageCertificateThumbprint>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user