We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82198cb commit 2c8e9e8Copy full SHA for 2c8e9e8
android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaUtils.kt
@@ -15,7 +15,8 @@ private fun getRootWindowInsetsCompatR(rootView: View): EdgeInsets? {
15
rootView.rootWindowInsets?.getInsets(
16
WindowInsets.Type.statusBars() or
17
WindowInsets.Type.displayCutout() or
18
- WindowInsets.Type.navigationBars())
+ WindowInsets.Type.navigationBars() or
19
+ WindowInsets.Type.captionBar())
20
?: return null
21
return EdgeInsets(
22
top = insets.top.toFloat(),
0 commit comments