Skip to content

Commit

Permalink
[Hotfix] PowerToys Awake - Show full name on tray (microsoft#12015)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimecbernardo authored and royvou committed Jul 7, 2021
1 parent ac24d54 commit 7c68ea6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/awake/Awake/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private static void HandleCommandLineArguments(bool usePtConfig, bool displayOn,
try
{
#pragma warning disable CS8604 // Possible null reference argument.
TrayHelper.InitializeTray(AppName, new Icon(Application.GetResourceStream(new Uri("/Images/Awake.ico", UriKind.Relative)).Stream));
TrayHelper.InitializeTray(FullAppName, new Icon(Application.GetResourceStream(new Uri("/Images/Awake.ico", UriKind.Relative)).Stream));
#pragma warning restore CS8604 // Possible null reference argument.

var settingsPath = _settingsUtils.GetSettingsFilePath(AppName);
Expand Down Expand Up @@ -274,7 +274,7 @@ private static void ProcessSettings()
}
}

TrayHelper.SetTray(AppName, settings);
TrayHelper.SetTray(FullAppName, settings);
}
else
{
Expand Down

0 comments on commit 7c68ea6

Please sign in to comment.