Use trailing comma to improve future diffs

master
Lonami Exo 3 months ago
parent b5dddcef02
commit fd1dac1045
  1. 1
      .idea/codeStyles/Project.xml
  2. 2
      app/src/main/java/dev/lonami/talaria/models/Dialog.kt
  3. 2
      app/src/main/java/dev/lonami/talaria/models/MessagePreview.kt

@ -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">

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

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

Loading…
Cancel
Save