Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jokomanza committed Jun 2, 2021
1 parent 0ea792f commit 3b9da7d
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 40 deletions.
Binary file modified .gradle/6.1.1/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/6.1.1/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/6.1.1/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/6.1.1/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/6.1.1/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
58 changes: 20 additions & 38 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ class DetailRecipeActivity : AppCompatActivity() {
for (n in 1 .. 20){
val ingredient = temp.getString("strIngredient$n")
val measure = temp.getString("strMeasure$n")
if (ingredient.trim() != "") tvIngredients.append("\n \u2022 $ingredient")
if (measure.trim() != "") tvMeasure.append("\n : $measure")
if (ingredient.trim() != "" && ingredient.trim() != "null") tvIngredients.append("\n \u2022 $ingredient")
if (measure.trim() != "" && measure.trim() != "null") tvMeasure.append("\n : $measure")
}

}
Expand Down

0 comments on commit 3b9da7d

Please sign in to comment.