Dismiss WiFi boot prompt when mobile session opens
This commit is contained in:
@@ -870,6 +870,7 @@ def create_app(
|
||||
apply_resolved_content, effective_default_content, set_default_content,
|
||||
read_device_status, storage_monitor.get_status, library_order=library_order)
|
||||
mobile_sessions = SessionManager(mobile.dispatch, mobile.identity,
|
||||
on_session_open=network.dismiss_for_boot,
|
||||
wifi_address=lambda: network.get_cached_status().get("active", {}).get("ipv4_address")
|
||||
if network.get_cached_status().get("active", {}).get("connected") else None)
|
||||
mobile_runtime = BluezRuntime(mobile_sessions, enabled=os.environ.get("MATRIX_BLE_ENABLED") == "1")
|
||||
|
||||
Reference in New Issue
Block a user