Don't reset position to the top when closing search

filtering
Floens 10 years ago
parent ccc44c20e6
commit 6188d44612
  1. 2
      Clover/app/src/main/java/org/floens/chan/ui/layout/ThreadListLayout.java

@ -131,7 +131,6 @@ public class ThreadListLayout extends LinearLayout implements ReplyLayout.ReplyL
searchStatus.setText(R.string.search_empty); searchStatus.setText(R.string.search_empty);
} else { } else {
postAdapter.clearFilter(); postAdapter.clearFilter();
recyclerView.scrollToPosition(0);
} }
} }
@ -174,6 +173,7 @@ public class ThreadListLayout extends LinearLayout implements ReplyLayout.ReplyL
postAdapter.cleanup(); postAdapter.cleanup();
reply.cleanup(); reply.cleanup();
openReply(false); openReply(false);
showSearch(false);
showingThread = null; showingThread = null;
} }

Loading…
Cancel
Save