mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
pi: add "hidden" tab if there are any hidden plugins
This commit is contained in:
parent
3584f2cf3d
commit
21063217a5
3 changed files with 62 additions and 13 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue