refactor: Move Message type enum to separate header

This commit is contained in:
Petr Mironychev
2025-09-30 19:37:28 +02:00
parent f8b87da2ca
commit 8aa37c5c8c
5 changed files with 48 additions and 22 deletions

View File

@ -87,8 +87,8 @@ Rectangle {
}
switch(modelData.type) {
case MessagePart.Text: return textComponent;
case MessagePart.Code: return codeBlockComponent;
case MessagePartType.Text: return textComponent;
case MessagePartType.Code: return codeBlockComponent;
default: return textComponent;
}
}