Skip to content

Commit ea6f52e

Browse files
committed
[MOD] #276 코스 생성 버튼 클릭 시 하단 Dialog dismiss
1 parent 4f9ee4f commit ea6f52e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

app/src/main/java/com/runnect/runnect/presentation/draw/DrawActivity.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,14 +313,15 @@ class DrawActivity :
313313
Timber.tag("EditTextValue").d("${viewModel.departureName.value}")
314314
}
315315

316+
val bottomSheetDialog = BottomSheetDialog(this)
317+
bottomSheetDialog.setContentView(bottomSheetView)
318+
316319
btnCreateCourse.setOnClickListener {
317320
hideKeyboard(etCourseName)
321+
bottomSheetDialog.dismiss()
318322
createMbr()
319323
}
320324

321-
val bottomSheetDialog = BottomSheetDialog(this)
322-
bottomSheetDialog.setContentView(bottomSheetView)
323-
324325
return bottomSheetDialog
325326
}
326327

0 commit comments

Comments
 (0)