Skip to content

Commit

Permalink
#22 [REFACTOR] scope 함수 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
gaeulzzang committed Jan 16, 2025
1 parent c5d6bbc commit 6bd08d5
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,16 @@ fun AppointmentRoute(
if (showDialog) {
AppointmentDialog(
onDismissRequest = {
appointmentViewModel.showDialog(false)
appointmentViewModel.navigateUp()
appointmentViewModel.apply {
showDialog(false)
navigateUp()
}
},
onConfirmButtonClick = {
appointmentViewModel.showDialog(false)
appointmentViewModel.navigateToAppointmentCheck(
groupId,
appointmentsId,
appointmentName
)
appointmentViewModel.apply {
showDialog(false)
navigateToAppointmentCheck(groupId, appointmentsId, appointmentName)
}
},
description = stringResource(R.string.dialog_appointment_description),
dismissText = stringResource(R.string.dialog_appointment_dismiss),
Expand Down

0 comments on commit 6bd08d5

Please sign in to comment.