From 0cac90b03285b9654c8a45506acc419a8ff794b0 Mon Sep 17 00:00:00 2001 From: goat Date: Sun, 29 Dec 2024 19:01:49 +0100 Subject: [PATCH] plugin installer: only allow feedback for non-outdated plugins --- .../Windows/PluginInstaller/PluginInstallerWindow.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs b/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs index 4daccab3b..4e60d4be8 100644 --- a/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs +++ b/Dalamud/Interface/Internal/Windows/PluginInstaller/PluginInstallerWindow.cs @@ -2444,7 +2444,7 @@ internal class PluginInstallerWindow : Window, IDisposable ImGuiHelpers.ScaledDummy(3); } - if (!manifest.SourceRepo.IsThirdParty && manifest.AcceptsFeedback) + if (!manifest.SourceRepo.IsThirdParty && manifest.AcceptsFeedback && !isOutdated) { ImGui.SameLine(); this.DrawSendFeedbackButton(manifest, false, true); @@ -2724,8 +2724,8 @@ internal class PluginInstallerWindow : Window, IDisposable 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;