From 3fd8a274d19b337c146090766c0f28485f326c01 Mon Sep 17 00:00:00 2001 From: Xinto Date: Thu, 16 Mar 2023 01:28:24 +0400 Subject: [PATCH] take at most 3 letters for short labels --- .../java/com/xinto/mauth/domain/account/model/DomainAccount.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/xinto/mauth/domain/account/model/DomainAccount.kt b/app/src/main/java/com/xinto/mauth/domain/account/model/DomainAccount.kt index 546f77b..2844eea 100644 --- a/app/src/main/java/com/xinto/mauth/domain/account/model/DomainAccount.kt +++ b/app/src/main/java/com/xinto/mauth/domain/account/model/DomainAccount.kt @@ -11,7 +11,7 @@ val DomainAccount.shortLabel: String it.isUpperCase() }.ifEmpty { label[0].uppercase() - } + }.take(3) } @Immutable