From 6e6db2c67b835e04621852b4eb458981e19cc475 Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Mon, 25 Oct 2021 17:52:45 -0500 Subject: [PATCH] fix iconpath other than default icon --- Flow.Launcher/Notification.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher/Notification.cs b/Flow.Launcher/Notification.cs index 8933dc95e..b6aba7727 100644 --- a/Flow.Launcher/Notification.cs +++ b/Flow.Launcher/Notification.cs @@ -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 = $"\"meziantou\"/{title}" + $"{subTitle}";