Methods
(static) Main(args) → {void}
Parameters:
| Name | Type | Description |
|---|---|---|
args | dynamic |
- Source
Returns:
- Type:
- void
(static) calculateFontScaleFactor() → {void}
Calculate global font scale factor for fallback font
- Source
Returns:
- Type:
- void
(static) createAndShowHomeGroup() → {void}
Create and show the home group
- Source
Returns:
- Type:
- void
(static) handleFontDownloadCompletion(fontDownloadTask) → {void}
Handle font download completion and optionally calculate scale factor
Parameters:
| Name | Type | Description |
|---|---|---|
fontDownloadTask | object |
- Source
Returns:
- 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) — no goto appStart, since the pre-login flow is routed and driven by the same unified event loop.
Parameters:
| Name | Type | Description |
|---|---|---|
actionId | string |
- Source
Returns:
- Type:
- void
(static) initializeFallbackFont() → {void}
Initialize fallback font download process
- Source
Returns:
- Type:
- void
(static) loadHomeScreen() → {void}
Load the home screen - may wait for font processing if UI fallback fonts are enabled
- Source
Returns:
- Type:
- void