Use trailing comma to improve future diffs

This commit is contained in:
Lonami Exo 2022-10-25 11:33:45 +02:00
parent b5dddcef02
commit fd1dac1045
3 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<JetCodeStyleSettings>
<option name="ALLOW_TRAILING_COMMA" value="true" />
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings>
<codeStyleSettings language="XML">

View File

@ -4,5 +4,5 @@ data class Dialog(
val id: String,
val title: String,
val lastMessage: MessagePreview?,
val pinned: Boolean
val pinned: Boolean,
)

View File

@ -6,5 +6,5 @@ data class MessagePreview(
val sender: String,
val text: String,
val date: LocalDateTime,
val ack: MessageAck
val ack: MessageAck,
)