Avoid double snackbar generation
All checks were successful
continuous-integration/drone/pr Build is passing

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 Snackbar.LENGTH_LONG
) )
.setAction(R.string.undo_string) { .setAction(R.string.undo_string) {
readItemAtIndex(item, position) readItemAtIndex(item, position, false)
} }
val view = s.view val view = s.view