mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
PluginInstallerWindow: remove useless plugin parameter from UpdateSinglePlugin
This commit is contained in:
parent
ba27dbe783
commit
bacf4d8400
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue