Fix scrolling issue

This commit is contained in:
stom79 2018-09-08 14:31:06 +02:00
parent 00298dd312
commit 45aea3f104
1 changed files with 1 additions and 1 deletions

View File

@ -1055,7 +1055,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
holder.status_content.setOnTouchListener(new View.OnTouchListener() {
@Override
public boolean onTouch(View view, MotionEvent motionEvent) {
if (motionEvent.getAction() == MotionEvent.ACTION_DOWN && !view.hasFocus()) {
if (motionEvent.getAction() == MotionEvent.ACTION_UP && !view.hasFocus()) {
try{view.requestFocus();}catch (Exception ignored){}
}
return false;