Use trailing comma to improve future diffs
This commit is contained in:
parent
b5dddcef02
commit
fd1dac1045
|
@ -1,6 +1,7 @@
|
||||||
<component name="ProjectCodeStyleConfiguration">
|
<component name="ProjectCodeStyleConfiguration">
|
||||||
<code_scheme name="Project" version="173">
|
<code_scheme name="Project" version="173">
|
||||||
<JetCodeStyleSettings>
|
<JetCodeStyleSettings>
|
||||||
|
<option name="ALLOW_TRAILING_COMMA" value="true" />
|
||||||
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
||||||
</JetCodeStyleSettings>
|
</JetCodeStyleSettings>
|
||||||
<codeStyleSettings language="XML">
|
<codeStyleSettings language="XML">
|
||||||
|
|
|
@ -4,5 +4,5 @@ data class Dialog(
|
||||||
val id: String,
|
val id: String,
|
||||||
val title: String,
|
val title: String,
|
||||||
val lastMessage: MessagePreview?,
|
val lastMessage: MessagePreview?,
|
||||||
val pinned: Boolean
|
val pinned: Boolean,
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,5 +6,5 @@ data class MessagePreview(
|
||||||
val sender: String,
|
val sender: String,
|
||||||
val text: String,
|
val text: String,
|
||||||
val date: LocalDateTime,
|
val date: LocalDateTime,
|
||||||
val ack: MessageAck
|
val ack: MessageAck,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue