Cleaning
This commit is contained in:
parent
d49007538b
commit
b8c3bdbbf6
|
@ -39,7 +39,7 @@ class AppModule(private val context: Context) {
|
||||||
single {
|
single {
|
||||||
StringProvider(context.resources)
|
StringProvider(context.resources)
|
||||||
}
|
}
|
||||||
|
|
||||||
single {
|
single {
|
||||||
context.getSharedPreferences("im.vector.riot", MODE_PRIVATE)
|
context.getSharedPreferences("im.vector.riot", MODE_PRIVATE)
|
||||||
}
|
}
|
||||||
|
|
|
@ -325,7 +325,10 @@ class MessageItemFactory(private val colorProvider: ColorProvider,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun annotateWithEdited(linkifiedBody: CharSequence, callback: TimelineEventController.Callback?, informationData: MessageInformationData, editSummary: EditAggregatedSummary?): SpannableStringBuilder {
|
private fun annotateWithEdited(linkifiedBody: CharSequence,
|
||||||
|
callback: TimelineEventController.Callback?,
|
||||||
|
informationData: MessageInformationData,
|
||||||
|
editSummary: EditAggregatedSummary?): SpannableStringBuilder {
|
||||||
val spannable = SpannableStringBuilder()
|
val spannable = SpannableStringBuilder()
|
||||||
spannable.append(linkifiedBody)
|
spannable.append(linkifiedBody)
|
||||||
val editedSuffix = "(edited)"
|
val editedSuffix = "(edited)"
|
||||||
|
|
Loading…
Reference in New Issue