Skip to main content

default_system_theme

Function default_system_theme 

Source
pub fn default_system_theme() -> SystemTheme
Expand description

Returns the system theme from the platform report or an earlier detection. When there is none, it detects the theme once and keeps the result. Detection yields Light where the platform cannot tell.