Fixed the Clean up system so that is actually cleans up the stream thumbnails

This commit is contained in:
Martin Barker
2023-01-28 15:32:59 +00:00
parent 7946c8ec37
commit 0af2d24b4c

View File

@@ -97,6 +97,14 @@ namespace TwitchDesktopNotifications.Core
File.Delete(FilePath + "/" + fileNameThumbnailPic); File.Delete(FilePath + "/" + fileNameThumbnailPic);
}catch(Exception) { } }catch(Exception) { }
}; };
toast.Activated += (ToastNotification sender, object args) =>
{
try
{
File.Delete(FilePath + "/" + fileNameThumbnailPic);
}
catch (Exception) { }
};
}); });
} }
} }