mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix iconpath other than default icon
This commit is contained in:
parent
de095eff68
commit
6e6db2c67b
1 changed files with 2 additions and 2 deletions
|
|
@ -19,8 +19,8 @@ namespace Flow.Launcher
|
|||
{
|
||||
/* Using Windows Notification System */
|
||||
var Icon = !File.Exists(iconPath)
|
||||
? ImageLoader.Load(Path.Combine(Constant.ProgramDirectory, "Images\\app.png"))
|
||||
: ImageLoader.Load(iconPath);
|
||||
? Path.Combine(Constant.ProgramDirectory, "Images\\app.png")
|
||||
: iconPath;
|
||||
|
||||
var xml = $"<?xml version=\"1.0\"?><toast><visual><binding template=\"ToastImageAndText04\"><image id=\"1\" src=\"{Icon}\" alt=\"meziantou\"/><text id=\"1\">{title}</text>" +
|
||||
$"<text id=\"2\">{subTitle}</text></binding></visual></toast>";
|
||||
|
|
|
|||
Loading…
Reference in a new issue