pi: add "hidden" tab if there are any hidden plugins

This commit is contained in:
goat 2024-07-20 02:17:27 +02:00
parent 3584f2cf3d
commit 21063217a5
3 changed files with 62 additions and 13 deletions

View file

@ -258,12 +258,6 @@ internal class PluginManager : IInternalDisposableService
/// <returns>If the manifest is visible.</returns>
public static bool IsManifestVisible(RemotePluginManifest manifest)
{
var configuration = Service<DalamudConfiguration>.Get();
// Hidden by user
if (configuration.HiddenPluginInternalName.Contains(manifest.InternalName))
return false;
// Hidden by manifest
return !manifest.IsHide;
}