mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-06-07 17:42:45 +08:00
[Hotfix] PowerToys Awake - Show full name on tray (#12015)
This commit is contained in:
parent
4c323ab71a
commit
2ddab2549e
@ -151,7 +151,7 @@ namespace Awake
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
#pragma warning disable CS8604 // Possible null reference argument.
|
#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.
|
#pragma warning restore CS8604 // Possible null reference argument.
|
||||||
|
|
||||||
var settingsPath = _settingsUtils.GetSettingsFilePath(AppName);
|
var settingsPath = _settingsUtils.GetSettingsFilePath(AppName);
|
||||||
@ -274,7 +274,7 @@ namespace Awake
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TrayHelper.SetTray(AppName, settings);
|
TrayHelper.SetTray(FullAppName, settings);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user