How do you save a boolean value using Preferences Datastore in Jetpack Compose?
I’m trying to save a boolean value that determines if dark mode is active. If the boolean is true than the background color of the app will be dark gray, if false it will be white.