Skip to content

Commit

Permalink
take at most 3 letters for short labels
Browse files Browse the repository at this point in the history
  • Loading branch information
X1nto committed Mar 15, 2023
1 parent 5a63401 commit 3fd8a27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ val DomainAccount.shortLabel: String
it.isUpperCase()
}.ifEmpty {
label[0].uppercase()
}
}.take(3)
}

@Immutable
Expand Down

0 comments on commit 3fd8a27

Please sign in to comment.