You've already forked element-android
mirror of
https://github.com/vector-im/element-android.git
synced 2025-08-06 03:42:41 +03:00
Fix regression on timeline for thread.
This commit is contained in:
committed by
Benoit Marty
parent
82317bf2bc
commit
3f22ddb065
@@ -411,8 +411,7 @@ class TimelineFragment :
|
|||||||
}
|
}
|
||||||
|
|
||||||
ViewCompat.setOnApplyWindowInsetsListener(views.coordinatorLayout) { _, insets ->
|
ViewCompat.setOnApplyWindowInsetsListener(views.coordinatorLayout) { _, insets ->
|
||||||
val imeInsets = insets.getInsets(WindowInsetsCompat.Type.ime() or WindowInsetsCompat.Type.systemBars())
|
val imeInsets = insets.getInsets(WindowInsetsCompat.Type.ime())
|
||||||
views.appBarLayout.updatePadding(top = imeInsets.top)
|
|
||||||
views.voiceMessageRecorderContainer.updatePadding(bottom = imeInsets.bottom)
|
views.voiceMessageRecorderContainer.updatePadding(bottom = imeInsets.bottom)
|
||||||
insets
|
insets
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user