mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Timeline scrolling performance issues
This commit is contained in:
committed by
Stefan Ceriu
parent
5c4ca74426
commit
193c97de6d
@@ -378,7 +378,7 @@ class RoomTimelineController: RoomTimelineControllerProtocol {
|
||||
}
|
||||
|
||||
private func loadUserAvatarForTimelineItem(_ timelineItem: EventBasedTimelineItemProtocol) async {
|
||||
if timelineItem.shouldShowSenderDetails == false {
|
||||
if timelineItem.shouldShowSenderDetails == false || timelineItem.senderAvatar != nil {
|
||||
return
|
||||
}
|
||||
|
||||
@@ -408,7 +408,7 @@ class RoomTimelineController: RoomTimelineControllerProtocol {
|
||||
}
|
||||
|
||||
private func loadUserDisplayNameForTimelineItem(_ timelineItem: EventBasedTimelineItemProtocol) async {
|
||||
if timelineItem.shouldShowSenderDetails == false {
|
||||
if timelineItem.shouldShowSenderDetails == false || timelineItem.senderDisplayName != nil {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user