fix: don't show punchline if a plugin is troublesome

This commit is contained in:
goaaats 2023-01-08 00:35:04 +01:00
parent 6ea7273e04
commit e153e73e77
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B

View file

@ -1629,7 +1629,7 @@ internal class PluginInstallerWindow : Window, IDisposable
ImGui.SetCursorPosX(cursor.X);
// Description
if (plugin is null or { IsOutdated: false, IsBanned: false })
if (plugin is null or { IsOutdated: false, IsBanned: false } && !trouble)
{
if (!string.IsNullOrWhiteSpace(manifest.Punchline))
{