From ab37984bebb3f69ed58b2d3f4ae02dc940f8cfa9 Mon Sep 17 00:00:00 2001 From: ganfra Date: Thu, 24 Jun 2021 18:33:30 +0200 Subject: [PATCH] Jump to unread: avoid blink when jumping --- .../vector/app/features/home/room/detail/RoomDetailFragment.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailFragment.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailFragment.kt index ddde469f2c..d4db25c841 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailFragment.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailFragment.kt @@ -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)) }