try to fix doubled inset issue
This commit is contained in:
parent
5c510c5f2e
commit
a6f2f3072e
1 changed files with 1 additions and 1 deletions
|
|
@ -35,6 +35,6 @@ class MainActivity: FlutterActivity() {
|
|||
// Posted so it runs after Flutter has applied any insets it deferred.
|
||||
private fun reapplyInsets() {
|
||||
val view = findViewById<View>(FLUTTER_VIEW_ID) ?: return
|
||||
view.post { view.rootWindowInsets?.let(view::onApplyWindowInsets) }
|
||||
view.post { view.requestApplyInsets() }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue