bevy/crates/bevy_window/src
Sou1gh0st db4a74be76
Support prefers_home_indicator_hidden (#16005)
# Objective

- Fixes #15757 

## Solution

- Add the platform specific property `prefers_home_indicator_hidden` to
bevy's Window configuration, and applying it by invoking
`with_prefers_home_indicator_hidden` in `winit`.

## Testing

- I have tested the `bevy_mobile_example` on the iOS platform.

## Showcase
- Currently, the `prefers_home_indicator_hidden` is enabled in the
bevy_mobile_example demo. You can test it with an iOS device. The home
indicator will disappear after several seconds of inactivity in the
bottom areas.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-10-31 16:09:30 +00:00
..
event.rs Use en-us locale for typos (#16037) 2024-10-20 18:55:17 +00:00
lib.rs move ANDROID_APP to bevy_window (#15585) 2024-10-02 03:01:06 +00:00
monitor.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
raw_handle.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
system.rs Properly handle repeated window close requests (#14573) 2024-08-01 16:15:28 +00:00
system_cursor.rs Add custom cursors (#14284) 2024-08-12 15:49:03 +00:00
window.rs Support prefers_home_indicator_hidden (#16005) 2024-10-31 16:09:30 +00:00