diff --git a/app/src/main/java/io/lbry/browser/utils/Helper.java b/app/src/main/java/io/lbry/browser/utils/Helper.java index 35956ff9..c6b75719 100644 --- a/app/src/main/java/io/lbry/browser/utils/Helper.java +++ b/app/src/main/java/io/lbry/browser/utils/Helper.java @@ -782,7 +782,7 @@ public final class Helper { rv.setAdapter(null); rv.setAdapter(adapter); - rv.scrollToPosition(prevScrollPosition > 0 ? prevScrollPosition : 0); + rv.scrollToPosition(Math.max(prevScrollPosition, 0)); } public static String makeid(int length) {