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 6, 2024
1 parent d29221d commit 210d44c
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 210d44c

Please sign in to comment.