If you are doing this, you should probably call setDark
with prefersDarkMode() or some initial value immediately before this,
so the current dark mode is set to user's preferred mode.
Note if persist is true when initializing,
subsequence setDark calls will still persist the value.
Clears the persisted dark mode preference
If you are doing this, you should probably call
setDarkwithprefersDarkMode()or some initial value immediately before this, so the current dark mode is set to user's preferred mode.Note if
persististruewhen initializing, subsequencesetDarkcalls will still persist the value.