Commit 4b0234f
committed
refactor(gui): initialize AIAssistantFoldLabel and hide chatRole in SimpleMessage
Updated the `AIAssistantFoldLabel` class to use property initialization for the `side` parameter. This change removes the need for a separate init block for the variable. Additionally, the `chatRole` property in the `SimpleMessage` class has been made private to encapsulate the field.
The commit adheres to the Conventional Commits specification, providing a clear and concise description of the changes made.1 parent a8b11fa commit 4b0234f
File tree
2 files changed
+3
-7
lines changed- core/src/main/kotlin/com/intellij/temporary/gui/block
2 files changed
+3
-7
lines changedLines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
29 | 27 | | |
30 | | - | |
31 | 28 | | |
32 | 29 | | |
33 | 30 | | |
| |||
57 | 54 | | |
58 | 55 | | |
59 | 56 | | |
60 | | - | |
| 57 | + | |
61 | 58 | | |
62 | 59 | | |
63 | 60 | | |
64 | 61 | | |
65 | | - | |
66 | 62 | | |
67 | 63 | | |
68 | 64 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments