mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
Merge branch 'yuleng/cmdpal/settings2' of https://github.com/moooyo/PowerToys into yuleng/cmdpal/settings2
This commit is contained in:
@@ -12,9 +12,6 @@ using Windows.Win32;
|
||||
using Windows.Win32.System.Com;
|
||||
using WinRT;
|
||||
|
||||
#pragma warning disable IDE0005 // Using directive is unnecessary - needed for HostSettings
|
||||
#pragma warning restore IDE0005
|
||||
|
||||
namespace Microsoft.CmdPal.UI.ViewModels.Models;
|
||||
|
||||
public class ExtensionWrapper : IExtensionWrapper
|
||||
|
||||
@@ -36,13 +36,6 @@ public static class HostSettingsManager
|
||||
internal static void Update(IHostSettings settings)
|
||||
{
|
||||
_current = settings;
|
||||
#if DEBUG
|
||||
var subscriberCount = SettingsChanged?.GetInvocationList().Length ?? 0;
|
||||
ExtensionHost.LogMessage($"[HostSettingsManager] Update called, subscriber count: {subscriberCount}");
|
||||
#endif
|
||||
SettingsChanged?.Invoke();
|
||||
#if DEBUG
|
||||
ExtensionHost.LogMessage($"[HostSettingsManager] SettingsChanged event invoked");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user