Skip to content

Commit

Permalink
[FEATURE] #105 : 일정 삭제 버튼 누를 시 다이얼로그가 나오도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Jan 19, 2024
1 parent e43c235 commit d7c439b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ internal fun EventEditScreen(
var showStartTimePicker by remember { mutableStateOf(false) }
var showEndDatePicker by remember { mutableStateOf(false) }
var showEndTimePicker by remember { mutableStateOf(false) }
var showDeleteDialog by remember { mutableStateOf(false) }
val timePickerState = rememberTimePickerState()

Scaffold(
Expand All @@ -157,7 +158,7 @@ internal fun EventEditScreen(
showLeftButton = true,
showRightButton = true,
onClickLeftButton = onBackButtonClicked,
onClickRightButton = deleteEvent,
onClickRightButton = { showDeleteDialog = true },
)

EventEditStateIndicator(
Expand Down

0 comments on commit d7c439b

Please sign in to comment.