ktlintFormat

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2025-02-17 16:41:46 +01:00
parent ea608781c4
commit 80e98a0d8b
No known key found for this signature in database
GPG Key ID: F7AA2A8B65B50220

View File

@ -110,7 +110,7 @@ class MessageUtils(val context: Context) {
val individualHashMap = message.messageParameters!![key]
if (individualHashMap != null) {
when (individualHashMap["type"]) {
"user", "guest", "call", "user-group", "email","circle" -> {
"user", "guest", "call", "user-group", "email", "circle" -> {
val chip = if (individualHashMap["id"] == message.activeUser!!.userId) {
R.xml.chip_you
} else {
@ -156,7 +156,7 @@ class MessageUtils(val context: Context) {
messageString: Spanned,
individualHashMap: HashMap<String?, String?>,
key: String?
):Spanned {
): Spanned {
val spannable = SpannableStringBuilder(messageString)
val placeholder = "{$key}"
val replacementText = individualHashMap["name"]