Remove old Cheogram swiping

This commit is contained in:
Arne 2024-08-31 21:46:43 +02:00
parent d4b1e440c2
commit 083b7ec946

View file

@ -57,7 +57,6 @@ import com.google.android.material.shape.ShapeAppearanceModel;
import de.monocles.chat.BobTransfer;
import de.monocles.chat.MessageTextActionModeCallback;
import de.monocles.chat.SwipeDetector;
import de.monocles.chat.WebxdcPage;
import de.monocles.chat.WebxdcUpdate;
@ -1321,12 +1320,6 @@ public class MessageAdapter extends ArrayAdapter<Message> {
.onContactPictureClicked(message);
}
});
SwipeDetector swipeDetector = new SwipeDetector((action) -> {
if (action == SwipeDetector.Action.LR && MessageAdapter.this.mOnMessageBoxSwipedListener != null) {
MessageAdapter.this.mOnMessageBoxSwipedListener.onContactPictureClicked(message);
}
});
// monocles swipe feature
@ -1395,8 +1388,6 @@ public class MessageAdapter extends ArrayAdapter<Message> {
}
}
swipeDetector.onTouch(v, event);
return false;
});
viewHolder.messageBody.setOnClickListener(v -> {