mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
plugin installer: only allow feedback for non-outdated plugins
This commit is contained in:
parent
6dd85c9e3e
commit
0cac90b032
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue