~singpolyma/cheogram-android

b105b0b4c69d60cefaf01b177e6d8dce3f52e359 — Stephen Paul Weber 11 months ago 9a5b2dc
Make long press to copy more reliable
2 files changed, 2 insertions(+), 1 deletions(-)

M build.gradle
M src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java
M build.gradle => build.gradle +1 -1
@@ 99,7 99,7 @@ dependencies {
    implementation 'com.github.martin-stone:hsv-alpha-color-picker-android:2.4.2'
    implementation 'com.github.ipld:java-cid:v1.3.1'
    implementation 'com.splitwise:tokenautocomplete:3.0.2'
    implementation 'me.saket:better-link-movement-method:2.2.0'
    implementation 'com.github.singpolyma:Better-Link-Movement-Method:4df081e1e4'
    implementation 'com.github.singpolyma:android-identicons:master-SNAPSHOT'
    implementation 'org.snikket:webrtc-android:107.0.0'
    implementation 'com.github.woltapp:blurhash:master'

M src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java => src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java +1 -0
@@ 599,6 599,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
                @Override
                protected void dispatchUrlLongClick(TextView tv, ClickableSpan span) {
                    if (span instanceof URLSpan || mOnInlineImageLongClickedListener == null) {
                        tv.dispatchTouchEvent(MotionEvent.obtain(0, 0, MotionEvent.ACTION_CANCEL, 0f, 0f, 0));
                        super.dispatchUrlLongClick(tv, span);
                        return;
                    }