mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 08:03:39 +00:00
Always capitalize placeholder icons
This commit is contained in:
parent
49d08d1af0
commit
166c0735af
@ -30,7 +30,7 @@ object AvatarPlaceholderGenerator {
|
||||
val colorSecondary = changeColorHueBy(colorPrimary, 12f)
|
||||
|
||||
val labelText = when {
|
||||
!TextUtils.isEmpty(displayName) -> extractLabel(displayName!!)
|
||||
!TextUtils.isEmpty(displayName) -> extractLabel(displayName!!.capitalize())
|
||||
!TextUtils.isEmpty(hashString) -> extractLabel(hashString)
|
||||
else -> EMPTY_LABEL
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user