Fixed messages scrollbar

This commit is contained in:
M66B 2019-04-12 16:18:21 +02:00
parent a29de1bd3f
commit 5b88c63fa9
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ public class FragmentMessages extends FragmentBase {
DividerItemDecoration dateDecorator = new DividerItemDecoration(getContext(), llm.getOrientation()) { DividerItemDecoration dateDecorator = new DividerItemDecoration(getContext(), llm.getOrientation()) {
@Override @Override
public void onDrawOver(@NonNull Canvas canvas, @NonNull RecyclerView parent, @NonNull RecyclerView.State state) { public void onDraw(@NonNull Canvas canvas, @NonNull RecyclerView parent, @NonNull RecyclerView.State state) {
for (int i = 0; i < parent.getChildCount(); i++) { for (int i = 0; i < parent.getChildCount(); i++) {
View view = parent.getChildAt(i); View view = parent.getChildAt(i);
int pos = parent.getChildAdapterPosition(view); int pos = parent.getChildAdapterPosition(view);