fix(PluginInstaller): check for IsLoaded to show checkmark

This commit is contained in:
goaaats 2022-01-15 03:01:08 +01:00
parent 7385108f42
commit f7432570fe
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -1080,7 +1080,7 @@ namespace Dalamud.Interface.Internal.Windows
ImGui.Image(this.imageCache.ThirdIcon.ImGuiHandle, iconSize);
ImGui.SameLine();
}
else if (plugin != null)
else if (plugin is { IsLoaded: true })
{
ImGui.SetCursorPos(cursorBeforeImage);
ImGui.Image(this.imageCache.InstalledIcon.ImGuiHandle, iconSize);