zng::widget

Static IS_MOBILE_VAR

source
pub static IS_MOBILE_VAR: ContextVar<bool>
Expand description

Variable that indicates the context should use mobile UI themes.

This is true by default in Android and iOS builds. It can also be set using force_mobile.