Methods
(static) Main(args) → {void}
| Name | Type | Description |
|---|---|---|
args | dynamic |
- Source
- Type:
- void
(static) calculateFontScaleFactor() → {void}
Calculate global font scale factor for fallback font
- Source
- Type:
- void
(static) createAndShowHomeGroup() → {void}
Create and show the home group
- Source
- Type:
- void
(static) handleFontDownloadCompletion(fontDownloadTask) → {void}
Handle font download completion and optionally calculate scale factor
| Name | Type | Description |
|---|---|---|
fontDownloadTask | object |
- Source
- Type:
- void
(static) handleMenuAction(actionId) → {void}
Shared handler for menu actions from both the OptionsSlider and the user dropdown. OPEN_SEARCH / OPEN_SETTINGS are not handled here: Home navigates to those routes directly (navigateTo runs on the render thread, which main.bs is not). Only the session-ending actions remain. Each tears down the routed Home (resetRouter) and re-enters the login flow in place (reenterLogin), with no goto appStart, since the pre-login flow is routed and driven by the same unified event loop.
| Name | Type | Description |
|---|---|---|
actionId | string |
- Source
- Type:
- void
(static) initializeFallbackFont() → {void}
Initialize fallback font download process
- Source
- Type:
- void
(static) loadHomeScreen() → {void}
Load the home screen - may wait for font processing if UI fallback fonts are enabled
- Source
- Type:
- void