Skip to content

Commit

Permalink
plugin installer: only allow feedback for non-outdated plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
goaaats committed Dec 29, 2024
1 parent 6dd85c9 commit 0cac90b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2444,7 +2444,7 @@ private void DrawAvailablePlugin(RemotePluginManifest manifest, int index)
ImGuiHelpers.ScaledDummy(3);
}

if (!manifest.SourceRepo.IsThirdParty && manifest.AcceptsFeedback)
if (!manifest.SourceRepo.IsThirdParty && manifest.AcceptsFeedback && !isOutdated)
{
ImGui.SameLine();
this.DrawSendFeedbackButton(manifest, false, true);
Expand Down Expand Up @@ -2724,8 +2724,8 @@ private void DrawInstalledPlugin(LocalPlugin plugin, int index, RemotePluginMani
var canFeedback = !isThirdParty &&
!plugin.IsDev &&
!plugin.IsOrphaned &&
(plugin.Manifest.DalamudApiLevel == PluginManager.DalamudApiLevel
|| plugin.Manifest.TestingDalamudApiLevel == PluginManager.DalamudApiLevel) &&
(plugin.Manifest.DalamudApiLevel == PluginManager.DalamudApiLevel ||
(plugin.Manifest.TestingDalamudApiLevel == PluginManager.DalamudApiLevel && hasTestingAvailable)) &&
acceptsFeedback &&
availablePluginUpdate == default;

Expand Down

0 comments on commit 0cac90b

Please sign in to comment.