Skip to content

Commit

Permalink
♻️ ktFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
ii2001 committed Aug 5, 2024
1 parent caef4a9 commit 4abf678
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ class RecipeMakingFragment : Fragment() {
Toast.makeText(
requireContext(),
R.string.camera_permission_granted,
Toast.LENGTH_SHORT
Toast.LENGTH_SHORT,
).show()
showImageSourceDialog()
} else {
Toast.makeText(
requireContext(),
R.string.camera_permission_needed,
Toast.LENGTH_SHORT
Toast.LENGTH_SHORT,
).show()
}
}
Expand All @@ -87,14 +87,14 @@ class RecipeMakingFragment : Fragment() {
Toast.makeText(
requireContext(),
R.string.image_selection_failed,
Toast.LENGTH_SHORT
Toast.LENGTH_SHORT,
).show()
}
} ?: run {
Toast.makeText(
requireContext(),
R.string.image_selection_failed,
Toast.LENGTH_SHORT
Toast.LENGTH_SHORT,
).show()
}
}
Expand Down

0 comments on commit 4abf678

Please sign in to comment.