forked from GitHub-Mirror/riotX-android
Start handling prune events. WIP
This commit is contained in:
@ -26,7 +26,7 @@ class MessageItemFactory(private val timelineDateFormatter: TimelineDateFormatte
|
||||
avatarUrl = roomMember.avatarUrl,
|
||||
showInformation = showInformation,
|
||||
time = timelineDateFormatter.formatMessageHour(date),
|
||||
memberName = roomMember.displayName
|
||||
memberName = roomMember.displayName ?: event.root.sender
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -31,7 +31,7 @@ class TimelineEventController(private val roomId: String,
|
||||
}
|
||||
}
|
||||
|
||||
var snapshotList: List<EnrichedEvent>? = emptyList()
|
||||
private var snapshotList: List<EnrichedEvent>? = emptyList()
|
||||
var timeline: PagedList<EnrichedEvent>? = null
|
||||
set(value) {
|
||||
field?.removeWeakCallback(pagedListCallback)
|
||||
|
@ -4,7 +4,7 @@
|
||||
<item android:state_selected="true">
|
||||
<shape android:shape="oval">
|
||||
<solid android:color="@android:color/transparent" />
|
||||
<stroke android:width="2dp" android:color="@color/pale_teal" />
|
||||
<stroke android:width="3dp" android:color="@color/pale_teal" />
|
||||
</shape>
|
||||
|
||||
</item>
|
||||
|
Reference in New Issue
Block a user