Avoid double snackbar generation

This commit is contained in:
davidoskky 2022-10-04 16:47:13 +02:00
parent a147646743
commit 1d2e5069b8

View File

@ -55,7 +55,7 @@ abstract class ItemsAdapter<VH : RecyclerView.ViewHolder?> : RecyclerView.Adapte
Snackbar.LENGTH_LONG
)
.setAction(R.string.undo_string) {
readItemAtIndex(item, position)
readItemAtIndex(item, position, false)
}
val view = s.view