Skip to content

Commit

Permalink
[FIX/#188] 드롭다운 메뉴 리스트가 비었을 경우 드롭다운 메뉴 아이콘이 안보이도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Roel4990 committed Jan 24, 2025
1 parent 02fc4d9 commit 08a7387
Showing 1 changed file with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,17 +239,18 @@ private fun PlaceDetailScreen(
location = "서울시 $userRegion 수저",
modifier = Modifier.weight(1f)
)

IconDropdownMenu(
menuItems = dropdownMenuList,
onMenuItemClick = { menu ->
when (menu) {
DropdownOption.REPORT.name -> {
onReportButtonClick()
if (dropdownMenuList.isNotEmpty()) {
IconDropdownMenu(
menuItems = dropdownMenuList,
onMenuItemClick = { menu ->
when (menu) {
DropdownOption.REPORT.name -> {
onReportButtonClick()
}
}
}
}
)
)
}
}

Spacer(modifier = Modifier.height(24.dp))
Expand Down

0 comments on commit 08a7387

Please sign in to comment.