Android Jetpack Compose - Background color does not change
I'm new to jetpack and I'm facing the following issue. I have one activity that contains a navigation drawer with their fragments. The fragments background color doesnt change when I switch theme, but only the background. I'm wondering why...
The background in dark mode still remains white for some reason
My code:
class RoomsListView : Fragment() {
override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
savedInstanceState: Bundle?,
): View...