Skip to content

Commit

Permalink
refactor: kotlin convention에 맞게 코드 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
iiolo committed Jan 13, 2024
1 parent b35c313 commit 09f22f5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ class SymptomAddFragment : Fragment(), SymptomBottomSheetDialogFragment.OnDateSe
(
a == EditorInfo.IME_ACTION_DONE ||
(
k != null &&
k.action == KeyEvent.ACTION_DOWN &&
k.keyCode == KeyEvent.KEYCODE_ENTER
)
k != null &&
k.action == KeyEvent.ACTION_DOWN &&
k.keyCode == KeyEvent.KEYCODE_ENTER
)
) && t.text.trim().isNotEmpty()
) {
fragmentSymptomAddBinding.layoutSymptomAddList.visibility = View.VISIBLE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ class SymptomEditFragment : Fragment(), SymptomBottomSheetDialogFragment.OnDateS
(
a == EditorInfo.IME_ACTION_DONE ||
(
k != null &&
k.action == KeyEvent.ACTION_DOWN &&
k.keyCode == KeyEvent.KEYCODE_ENTER
)
k != null &&
k.action == KeyEvent.ACTION_DOWN &&
k.keyCode == KeyEvent.KEYCODE_ENTER
)
) && t.text.trim().isNotEmpty()
) {
fragmentSymptomEditBinding.layoutItemSymptomEdit.visibility = View.VISIBLE
Expand Down

0 comments on commit 09f22f5

Please sign in to comment.