Methods

(static) Main(args) → {void}

Parameters:
NameTypeDescription
argsdynamic
Returns:
Type: 
void

(static) calculateFontScaleFactor() → {void}

Calculate global font scale factor for fallback font

Returns:
Type: 
void

(static) createAndShowHomeGroup() → {void}

Create and show the home group

Returns:
Type: 
void

(static) handleFontDownloadCompletion(fontDownloadTask) → {void}

Handle font download completion and optionally calculate scale factor

Parameters:
NameTypeDescription
fontDownloadTaskobject
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:
NameTypeDescription
actionIdstring
Returns:
Type: 
void

(static) initializeFallbackFont() → {void}

Initialize fallback font download process

Returns:
Type: 
void

(static) loadHomeScreen() → {void}

Load the home screen - may wait for font processing if UI fallback fonts are enabled

Returns:
Type: 
void