mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 11:26:01 +03:00
Format
This commit is contained in:
parent
27161bf794
commit
a38f5f9644
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class SearchResultController @Inject constructor(
|
|||
|
||||
// Take new content first
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
val text = ((event.content?.get("m.new_content") as? Content) ?: event.content)?.get("body") as? String ?: return@forEach
|
||||
val text = ((event.content?.get("m.new_content") as? Content) ?: event.content)?.get("body") as? String ?: return@forEach
|
||||
val spannable = setHighLightedText(text, data.highlights) ?: return@forEach
|
||||
|
||||
val eventDate = Calendar.getInstance().apply {
|
||||
|
|
Loading…
Reference in a new issue