mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2025-10-06 03:57:07 -04:00
refactor: Move Message type enum to separate header
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user