Closed Arunm619 closed 2 years ago
On Page 6 of the lab,
the third code snippet shows class UserPreferencesRepository(private val dataStore: DataStore<UserPreferences>) which is incorrect.
class UserPreferencesRepository(private val dataStore: DataStore<UserPreferences>)
The right one is
class UserPreferencesRepository(private val dataStore: DataStore<Preferences>)
Thank you. Fix will be issued soon.
Duplicate of #30 and #45
Thank you, this has been fixed
On Page 6 of the lab,
the third code snippet shows
class UserPreferencesRepository(private val dataStore: DataStore<UserPreferences>)
which is incorrect.The right one is
class UserPreferencesRepository(private val dataStore: DataStore<Preferences>)