mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
fix: label plugins that aren't actively being tested "available" in the installer
This commit is contained in:
parent
53211c0a7b
commit
46cb6a3b74
2 changed files with 37 additions and 12 deletions
|
|
@ -1677,6 +1677,7 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
var pluginManager = Service<PluginManager>.Get();
|
||||
|
||||
var useTesting = pluginManager.UseTesting(manifest);
|
||||
var activelyTesting = useTesting || manifest.IsTestingExclusive;
|
||||
var wasSeen = this.WasPluginSeen(manifest.InternalName);
|
||||
|
||||
var isOutdated = manifest.DalamudApiLevel < PluginManager.DalamudApiLevel;
|
||||
|
|
@ -1692,10 +1693,14 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
var label = manifest.Name;
|
||||
|
||||
// Testing
|
||||
if (useTesting || manifest.IsTestingExclusive)
|
||||
if (activelyTesting)
|
||||
{
|
||||
label += Locs.PluginTitleMod_TestingVersion;
|
||||
}
|
||||
else if (configuration.DoPluginTest && PluginManager.HasTestingVersion(manifest))
|
||||
{
|
||||
label += Locs.PluginTitleMod_TestingAvailable;
|
||||
}
|
||||
|
||||
ImGui.PushID($"available{index}{manifest.InternalName}");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue