Closed Tonnie-Dev closed 7 months ago
@Tonnie-Dev Appreciate your effort and please update the latest changes from the main branch.
@Tonnie-Dev Appreciate your effort and please update the latest changes from the main branch.
It was such a small change but I encountered this error about some failed tests. I am yet to figure it on my end. What do you think?
Changed the ViewModel's set function to use
MutableStateFlow.update{}
. Instead of directly assigning a new value to MutableStateFlow it is better to use update{} method, which ensures thread safety and easy readability.