The usage of the dataStore function also requires the "datastore-preferences" dependency in build.gradle: implementation "androidx.datastore:datastore-preferences:1.0.0"
The usage of the dataStore function also requires the "datastore-preferences" dependency in build.gradle:
implementation "androidx.datastore:datastore-preferences:1.0.0"