mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-20 19:18:37 +00:00
Post a request to apply insets after window is attached.
This commit is contained in:
@@ -77,6 +77,7 @@ open class InsetAwareConstraintLayout @JvmOverloads constructor(
|
||||
super.onAttachedToWindow()
|
||||
|
||||
ViewCompat.setOnApplyWindowInsetsListener(this, windowInsetsListener)
|
||||
post { ViewCompat.requestApplyInsets(this) }
|
||||
}
|
||||
|
||||
override fun onDetachedFromWindow() {
|
||||
|
||||
Reference in New Issue
Block a user