From bacf4d8400ed9bb6d562eed2ce1b0849bffaba17 Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Thu, 15 Jul 2021 14:36:39 +0200 Subject: [PATCH] PluginInstallerWindow: remove useless plugin parameter from UpdateSinglePlugin --- Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs index 7908c7004..05fc643b5 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstallerWindow.cs @@ -679,7 +679,7 @@ namespace Dalamud.Interface.Internal.Windows this.DrawVisitRepoUrlButton(plugin.Manifest.RepoUrl); if (availablePluginUpdate != default) - this.DrawUpdateSinglePluginButton(plugin, availablePluginUpdate); + this.DrawUpdateSinglePluginButton(availablePluginUpdate); ImGui.SameLine(); ImGui.TextColored(ImGuiColors.DalamudGrey3, $" v{plugin.Manifest.AssemblyVersion}"); @@ -781,7 +781,7 @@ namespace Dalamud.Interface.Internal.Windows } } - private void DrawUpdateSinglePluginButton(LocalPlugin plugin, AvailablePluginUpdate update) + private void DrawUpdateSinglePluginButton(AvailablePluginUpdate update) { ImGui.SameLine(); @@ -800,7 +800,7 @@ namespace Dalamud.Interface.Internal.Windows if (!task.Result.WasUpdated) { - ShowErrorModal(errorMessage); + this.ShowErrorModal(errorMessage); } }); }