Allow swipe in either direction to archive

This commit is contained in:
Moez Bhatti
2018-03-13 20:22:56 -07:00
parent 3279d64b43
commit 40b4c9bb87
@@ -24,7 +24,7 @@ import io.reactivex.subjects.PublishSubject
import io.reactivex.subjects.Subject
import javax.inject.Inject
class ConversationItemTouchCallback @Inject constructor() : ItemTouchHelper.SimpleCallback(0, ItemTouchHelper.RIGHT) {
class ConversationItemTouchCallback @Inject constructor() : ItemTouchHelper.SimpleCallback(0, ItemTouchHelper.LEFT or ItemTouchHelper.RIGHT) {
val swipes: Subject<Int> = PublishSubject.create()