diff --git a/Ui/NotificationProgressManager.cs b/Ui/NotificationProgressManager.cs index fe74252..468be49 100644 --- a/Ui/NotificationProgressManager.cs +++ b/Ui/NotificationProgressManager.cs @@ -4,6 +4,7 @@ using Dalamud.Interface.Internal.Notifications; using Dalamud.Plugin.Services; using Heliosphere.Util; +using ImGuiNET; namespace Heliosphere.Ui; @@ -157,6 +158,23 @@ private State UpdateNotif(IActiveNotification notif, DownloadTask task) { _ => NotificationType.Info, }; + if (state == State.Finished) { + notif.DrawActions += _ => { + ImGui.PushID($"notif-download-{task.TaskId}"); + using var popId = new OnDispose(ImGui.PopID); + + if (ImGui.Button("Open in Penumbra")) { + + } + + ImGui.SameLine(); + + if (ImGui.Button("Open in Heliosphere")) { + + } + }; + } + return state; } }