setDark

abstract fun setDark(dark: Boolean)(source)

Persist the user's dark-mode choice.