Save Preferences Locally with DataStore - private property _uiState in starter code but not in description
Opened this issue · 0 comments
fe60 commented
In which task and step of the codelab can this issue be found?
section Read the layout preference, step 1
Describe the problem
- Delete the code that initializes the
uiState
property toMutableStateFlow(DessertReleaseUiState)
.
In the starter
code uiState
is initialized by assigning _uiState
, which is initialized to to MutableStateFlow(DessertReleaseUiState)
.
According to the solution code in branch main
, the _uiState
property needs to be removed from the starter
branch.