mirror of
https://github.com/oxen-io/session-android.git
synced 2025-03-12 09:50:51 +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 colorSecondary = changeColorHueBy(colorPrimary, 12f)
|
||||||
|
|
||||||
val labelText = when {
|
val labelText = when {
|
||||||
!TextUtils.isEmpty(displayName) -> extractLabel(displayName!!)
|
!TextUtils.isEmpty(displayName) -> extractLabel(displayName!!.capitalize())
|
||||||
!TextUtils.isEmpty(hashString) -> extractLabel(hashString)
|
!TextUtils.isEmpty(hashString) -> extractLabel(hashString)
|
||||||
else -> EMPTY_LABEL
|
else -> EMPTY_LABEL
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user