Small improvement

This commit is contained in:
M66B 2022-07-21 09:16:36 +02:00
parent b560bef26f
commit 855cbe93a6
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ public class FragmentLogs extends FragmentBase {
@Override
public void onScrolled(@NonNull RecyclerView recyclerView, int dx, int dy) {
try {
autoScroll = (llm.findFirstVisibleItemPosition() == 0);
autoScroll = (llm.findFirstVisibleItemPosition() <= 0);
} catch (Throwable ex) {
Log.e(ex);
}