Jump to unread: avoid blink when jumping
This commit is contained in:
parent
1ba97fa9be
commit
ab37984beb
@ -1970,7 +1970,6 @@ class RoomDetailFragment @Inject constructor(
|
||||
}
|
||||
|
||||
private fun onJumpToReadMarkerClicked() = withState(roomDetailViewModel) {
|
||||
views.jumpToReadMarkerView.isVisible = false
|
||||
if (it.unreadState is UnreadState.HasUnread) {
|
||||
roomDetailViewModel.handle(RoomDetailAction.NavigateToEvent(it.unreadState.firstUnreadEventId, false))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user