Skip to content

Commit

Permalink
🔀 apply kt lint format
Browse files Browse the repository at this point in the history
  • Loading branch information
kmkim2689 committed Aug 7, 2024
1 parent b4ac601 commit 40f0edc
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,13 @@ class RecipeMakingViewModel(private val makingRecipeRepository: MakingRecipeRepo
val ingredients = ingredientContent.value?.trim()
val title = titleContent.value?.trim()

if (category.isNullOrEmpty() || introduction.isNullOrEmpty() || difficulty == null || ingredients.isNullOrEmpty() || title.isNullOrEmpty() || thumbnailTitle.isNullOrEmpty()) {
if (category.isNullOrEmpty() ||
introduction.isNullOrEmpty() ||
difficulty == null ||
ingredients.isNullOrEmpty() ||
title.isNullOrEmpty() ||
thumbnailTitle.isNullOrEmpty()
) {
_uiEvent.value = Event(MakingEvent.DescriptionFormNotCompleted)
return@launch
}
Expand Down

0 comments on commit 40f0edc

Please sign in to comment.