IconMarginConverter class now partial to resolve AOT warning (#41943)

<!-- Enter a brief description/summary of your PR here. What does it
fix/what does it change/how was it tested (even manually, if necessary)?
-->
## Summary of the Pull Request
This resolves the issue brought up in PR 41851 where the new class
generated a warning for AOT builds.

Please see
https://github.com/microsoft/PowerToys/pull/41851#issuecomment-3320083888
This commit is contained in:
Sam Rueby
2025-09-23 10:21:49 -04:00
committed by GitHub
parent 51caa5b50b
commit aae601aa36

View File

@@ -7,7 +7,7 @@ using Microsoft.UI.Xaml.Data;
namespace Microsoft.CmdPal.UI.Controls;
public sealed class IconMarginConverter : IValueConverter
public sealed partial class IconMarginConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{