-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
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)
.
Lines 31 to 34 in c34aef0
private val _uiState = MutableStateFlow(DessertReleaseUiState()) | |
// UI states access for various [DessertReleaseUiState] | |
val uiState: StateFlow<DessertReleaseUiState> = _uiState |
According to the solution code in branch main
, the _uiState
property needs to be removed from the starter
branch.
Metadata
Metadata
Assignees
Labels
No labels