mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
Draw DefaultIcon instead of installed/3pp icon if plugin is gone
This commit is contained in:
parent
76ca202f38
commit
ecfbcfe194
1 changed files with 1 additions and 6 deletions
|
|
@ -131,12 +131,7 @@ public static class NotificationUtilities
|
||||||
plugin.IsThirdParty,
|
plugin.IsThirdParty,
|
||||||
out var texture) || texture is null)
|
out var texture) || texture is null)
|
||||||
{
|
{
|
||||||
texture = plugin switch
|
texture = dam.GetDalamudTextureWrap(DalamudAsset.DefaultIcon);
|
||||||
{
|
|
||||||
{ IsDev: true } => dam.GetDalamudTextureWrap(DalamudAsset.DevPluginIcon),
|
|
||||||
{ IsThirdParty: true } => dam.GetDalamudTextureWrap(DalamudAsset.ThirdInstalledIcon),
|
|
||||||
_ => dam.GetDalamudTextureWrap(DalamudAsset.InstalledIcon),
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return DrawIconFrom(minCoord, maxCoord, texture);
|
return DrawIconFrom(minCoord, maxCoord, texture);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue