FYI, you can use this utility to get a dynamic ver...
# compose-desktop
a
FYI, you can use this utility to get a dynamic version of
isSystemInDarkTheme
. One that will change when the system theme changes. UPDATE: This will hang tests, use the version down below instead.
It just polls the system theme at 1Hz and updates a composition local.
Hmm, actually, this breaks tests because
isIdle
never becomes
true
. Needs fixing a bit.
There
👍🏻 1
d
Thanks!