Skip to content

Commit 17c358e

Browse files
author
prima
committed
fix: Fixed issues with icons not matching characters when defaults are not defined
1 parent b9d5231 commit 17c358e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

klite.embd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24307,11 +24307,11 @@ Current version indicated by LITEVER below.
2430724307
{
2430824308
return imageFromIndexDB;
2430924309
}
24310-
if (name === localsettings.chatname && !!aestheticInstructUISettings?.you_portrait)
24310+
if (name === localsettings.chatname && !!aestheticInstructUISettings?.you_portrait && aestheticInstructUISettings.you_portrait !== "default")
2431124311
{
2431224312
return `url(${aestheticInstructUISettings.you_portrait})`
2431324313
}
24314-
if (localsettings?.chatopponent?.split("||$||").includes(name) && !!aestheticInstructUISettings?.AI_portrait)
24314+
if (localsettings?.chatopponent?.split("||$||").includes(name) && !!aestheticInstructUISettings?.AI_portrait && aestheticInstructUISettings.AI_portrait !== "default")
2431524315
{
2431624316
return `url(${aestheticInstructUISettings.AI_portrait})`
2431724317
}

0 commit comments

Comments
 (0)