Add TODOs

This commit is contained in:
Kirill Kamakin
2022-12-13 21:57:02 +01:00
parent 0b65c59b59
commit 30ee8ecdea

View File

@@ -41,6 +41,8 @@ class RecipesListViewModel @Inject constructor(
} }
} }
// TODO hide favourite icons if not authorized
// TODO show error message when can't update favourite status
fun onFavoriteIconClick(recipeSummaryEntity: RecipeSummaryEntity) { fun onFavoriteIconClick(recipeSummaryEntity: RecipeSummaryEntity) {
logger.v { "onFavoriteIconClick() called with: recipeSummaryEntity = $recipeSummaryEntity" } logger.v { "onFavoriteIconClick() called with: recipeSummaryEntity = $recipeSummaryEntity" }
viewModelScope.launch { viewModelScope.launch {