Skip to content

Commit 117fe4e

Browse files
committed
Update docs for right version of the func
1 parent 2c7372d commit 117fe4e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

doc/source/apis.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ You can control the immersive mode behavior and how system bars reappear using t
3333
from android.display_cutout import set_immersive_mode
3434

3535
set_immersive_mode(
36-
True, # enable: True hides system bars, False restores normal system bar visibility
37-
"Sticky", # behavior: "Sticky" hides bars until swiped and auto-hides them after a delay, "Transient" allows temporary swipes, "Default" brings them back permanently on swipe. Literal["Default", "Transient", "Sticky"]
38-
False, # hide_status: True explicitly targets hiding the top status bar, False leaves it visible if allowed by behavior
39-
True, # hide_nav: True explicitly targets hiding the bottom navigation bar/gestural pill, False leaves it visible
36+
False, # hide_status: True explicitly targets hiding the top status bar, False leaves it visible
37+
False, # hide_nav: True explicitly targets hiding the bottom navigation bar/gestural pill, False leaves it visible
4038
True, # remove_contrast: True disables the default system-enforced background scrim/contrast behind the bars, ensuring complete transparency when they peek
4139
)
4240

0 commit comments

Comments
 (0)