Skip to content

Commit

Permalink
Increase debounce to 250ms
Browse files Browse the repository at this point in the history
Fixes #515
  • Loading branch information
Belphemur committed Nov 7, 2020
1 parent 2811e74 commit ec353c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SoundSwitch/Model/AppModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private AppModel()
_notificationManager = new NotificationManager(this);

_deviceCyclerManager = new DeviceCyclerManager();
MMNotificationClient.Instance.DefaultDeviceChanged += (sender, @event) => { _dispatcher.Debounce(50, o => { DefaultDeviceChanged?.Invoke(sender, @event); }); };
MMNotificationClient.Instance.DefaultDeviceChanged += (sender, @event) => { _dispatcher.Debounce(250, o => { DefaultDeviceChanged?.Invoke(sender, @event); }); };
}

public static IAppModel Instance { get; } = new AppModel();
Expand Down

0 comments on commit ec353c2

Please sign in to comment.