Skip to content

Commit

Permalink
disable snackbar in while undo is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasemde committed Jan 3, 2025
1 parent 37b2fad commit ea8648e
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1159,12 +1159,13 @@ private fun SectionListElement(
deleted = deleted,
onDeleted = {
onSectionDeleted(item)
showSnackbar(
MainUiEvent.ShowSnackbar(
message = context.getString(R.string.active_session_sections_list_element_deleted),
onUndo = { }
)
)
// as long as we don't have undo, we don't need to show a snackbar
// showSnackbar(
// MainUiEvent.ShowSnackbar(
// message = context.getString(R.string.active_session_sections_list_element_deleted),
// onUndo = { }
// )
// )
}
) {
Surface(
Expand Down

0 comments on commit ea8648e

Please sign in to comment.