feat: hide home indicator without needing a controller connected

This commit is contained in:
Acaki
2025-07-08 21:12:19 +08:00
parent 835c9c1166
commit 2c8f2ee408
@@ -1156,8 +1156,7 @@
}
- (BOOL)prefersHomeIndicatorAutoHidden {
if ([_controllerSupport getConnectedGamepadCount] > 0 &&
[_streamView getCurrentOscState] == OnScreenControlsLevelOff &&
if ( [_streamView getCurrentOscState] == OnScreenControlsLevelOff &&
_userIsInteracting == NO) {
// Autohide the home bar when a gamepad is connected
// and the on-screen controls are disabled. We can't