mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-29 02:52:56 +01:00
Format
This commit is contained in:
parent
27161bf794
commit
a38f5f9644
@ -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 New Issue
Block a user