mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-14 20:54:16 +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);
|
ImGuiHelpers.ScaledDummy(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!manifest.SourceRepo.IsThirdParty && manifest.AcceptsFeedback)
|
if (!manifest.SourceRepo.IsThirdParty && manifest.AcceptsFeedback && !isOutdated)
|
||||||
{
|
{
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
this.DrawSendFeedbackButton(manifest, false, true);
|
this.DrawSendFeedbackButton(manifest, false, true);
|
||||||
|
|
@ -2724,8 +2724,8 @@ internal class PluginInstallerWindow : Window, IDisposable
|
||||||
var canFeedback = !isThirdParty &&
|
var canFeedback = !isThirdParty &&
|
||||||
!plugin.IsDev &&
|
!plugin.IsDev &&
|
||||||
!plugin.IsOrphaned &&
|
!plugin.IsOrphaned &&
|
||||||
(plugin.Manifest.DalamudApiLevel == PluginManager.DalamudApiLevel
|
(plugin.Manifest.DalamudApiLevel == PluginManager.DalamudApiLevel ||
|
||||||
|| plugin.Manifest.TestingDalamudApiLevel == PluginManager.DalamudApiLevel) &&
|
(plugin.Manifest.TestingDalamudApiLevel == PluginManager.DalamudApiLevel && hasTestingAvailable)) &&
|
||||||
acceptsFeedback &&
|
acceptsFeedback &&
|
||||||
availablePluginUpdate == default;
|
availablePluginUpdate == default;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue