Skip to content

Commit

Permalink
fix(Update::Later): Don't force the user to update when left clicking…
Browse files Browse the repository at this point in the history
… on the icon
  • Loading branch information
Belphemur committed Jun 21, 2021
1 parent 2956bc6 commit 56199da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SoundSwitch/UI/Component/TrayIcon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public TrayIcon()

if (e.Button != MouseButtons.Left) return;

if (_updateMenuItem.Tag != null)
if (_updateMenuItem.Tag != null && !_postponeService.ShouldPostpone((Release) _updateMenuItem.Tag))
{
OnUpdateClick(sender, e);
return;
Expand Down

0 comments on commit 56199da

Please sign in to comment.