Hey guys, can anyone help me with dataStore? I'm storing my application's dark mode configuration using dataStore. I managed to save and get the values pretty easily but i'm a little confused about the Flow<T> that returns from dataStore when i request a key's value.
The idea is store in my viewModel the current configuration ( false = LightMode, true = DarkMode) and set the initial value according to the dataStore stored value