mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-21 16:32:39 +00:00
remove cutout padding if removed at runtime
This commit is contained in:
1 file changed
+4
@@ -200,6 +200,10 @@ class GeometryDashActivity : AppCompatActivity(), Cocos2dxHelper.Cocos2dxHelperL
|
||||
right = displayInsets.safeInsetRight,
|
||||
bottom = displayInsets.safeInsetBottom
|
||||
)
|
||||
} else {
|
||||
v.updatePadding(
|
||||
left = 0, top = 0, right = 0, bottom = 0
|
||||
)
|
||||
}
|
||||
WindowInsets.CONSUMED
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user