mirror of
https://github.com/element-hq/element-android
synced 2024-11-23 09:55:40 +03:00
Cleaning
This commit is contained in:
parent
d49007538b
commit
b8c3bdbbf6
2 changed files with 5 additions and 2 deletions
|
@ -39,7 +39,7 @@ class AppModule(private val context: Context) {
|
|||
single {
|
||||
StringProvider(context.resources)
|
||||
}
|
||||
|
||||
|
||||
single {
|
||||
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()
|
||||
spannable.append(linkifiedBody)
|
||||
val editedSuffix = "(edited)"
|
||||
|
|
Loading…
Reference in a new issue