remove cutout padding if removed at runtime

This commit is contained in:
Chloe committed 2026-04-05 22:54:25 -07:00
1 parent 82b6cf309f
commit c9c51f0032
1 file changed
+4
@@ -200,6 +200,10 @@ class GeometryDashActivity : AppCompatActivity(), Cocos2dxHelper.Cocos2dxHelperL
right = displayInsets.safeInsetRight, right = displayInsets.safeInsetRight,
bottom = displayInsets.safeInsetBottom bottom = displayInsets.safeInsetBottom
) )
} else {
v.updatePadding(
left = 0, top = 0, right = 0, bottom = 0
)
} }
WindowInsets.CONSUMED WindowInsets.CONSUMED
} }