Fixes a bug with the double opening when clicking on a mentioned account.

This commit is contained in:
tom79 2017-07-25 15:34:45 +02:00
parent 6c5329a61d
commit 8c3c30215d
2 changed files with 2 additions and 4 deletions

View File

@ -531,10 +531,6 @@ public class StatusListAdapter extends BaseAdapter implements OnPostActionInterf
}
}
});
//Profile picture
return convertView;
}

View File

@ -1098,6 +1098,7 @@ public class Helper {
}, matchStart, matchEnd, Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
}
statusTV.setText(spannableString, TextView.BufferType.SPANNABLE);
statusTV.setMovementMethod(null);
statusTV.setMovementMethod(LinkMovementMethod.getInstance());
return statusTV;
}
@ -1166,6 +1167,7 @@ public class Helper {
}, matchStart, matchEnd, Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
}
statusTV.setText(spannableString, TextView.BufferType.SPANNABLE);
statusTV.setMovementMethod(null);
statusTV.setMovementMethod(LinkMovementMethod.getInstance());
return statusTV;
}