settings (function)

Display the settings dialog (nicegui.ui.card).

Syntax

def settings(dark_mode: bool) -> None:

Parameters

dark_mode

The current dark mode preference (true for dark, false otherwise)

Remarks

Interacting with the toggles in this window will directly modify environment variables for SCRUB_ENABLED and APP_DARK_MODE using openadapt.config.persist_env

Last updated