Skip to content

Commit 3f22ddb

Browse files
committed
Fix regression on timeline for thread.
1 parent 82317bf commit 3f22ddb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,8 +411,7 @@ class TimelineFragment :
411411
}
412412

413413
ViewCompat.setOnApplyWindowInsetsListener(views.coordinatorLayout) { _, insets ->
414-
val imeInsets = insets.getInsets(WindowInsetsCompat.Type.ime() or WindowInsetsCompat.Type.systemBars())
415-
views.appBarLayout.updatePadding(top = imeInsets.top)
414+
val imeInsets = insets.getInsets(WindowInsetsCompat.Type.ime())
416415
views.voiceMessageRecorderContainer.updatePadding(bottom = imeInsets.bottom)
417416
insets
418417
}

0 commit comments

Comments
 (0)