Skip to content

Commit

Permalink
Fix edit custom lists enabled state
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Jul 23, 2024
1 parent a327427 commit b2a346a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ fun SelectLocationScreen(
onShowCustomListBottomSheet = {
bottomSheetState =
ShowCustomListsBottomSheet(
editListEnabled = false
editListEnabled = state.customLists.isNotEmpty()
)
}
)
Expand Down Expand Up @@ -643,7 +643,7 @@ private fun SelectLocationUiState.indexOfSelectedRelayItem(): Int =
private fun CustomListsBottomSheet(
onBackgroundColor: Color,
sheetState: SheetState,
bottomSheetState: BottomSheetState.ShowCustomListsBottomSheet,
bottomSheetState: ShowCustomListsBottomSheet,
onCreateCustomList: () -> Unit,
onEditCustomLists: () -> Unit,
closeBottomSheet: (animate: Boolean) -> Unit
Expand Down

0 comments on commit b2a346a

Please sign in to comment.