simplify code for readability

This commit is contained in:
Patric Karlström 2021-01-12 02:20:29 +01:00
parent a261a62584
commit 8c9a1a396a

View file

@ -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) {