Remove manifest API filter in installer

The API is already checked in `PluginManager.IsManifestEligible`,
so a plugin not matching it doesn't even get here.
This commit is contained in:
Haselnussbomber 2025-09-28 15:39:36 +02:00
parent 191aa8d696
commit d1fbee2829
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1

View file

@ -3782,16 +3782,7 @@ internal class PluginInstallerWindow : Window, IDisposable
private bool IsManifestFiltered(IPluginManifest manifest)
{
var hasSearchString = !string.IsNullOrWhiteSpace(this.searchText);
var oldApi = (manifest.TestingDalamudApiLevel == null
|| manifest.TestingDalamudApiLevel < PluginManager.DalamudApiLevel)
&& manifest.DalamudApiLevel < PluginManager.DalamudApiLevel;
var installed = this.IsManifestInstalled(manifest).IsInstalled;
if (oldApi && !hasSearchString && !installed)
return true;
if (!hasSearchString)
if (string.IsNullOrWhiteSpace(this.searchText))
return false;
return this.GetManifestSearchScore(manifest) < 1;