Reduce default limit back to 15

The feeling of scrolling was nice but a page size of 50
makes the main page a bit slower which isn't worth it.
This commit is contained in:
Brandon Presley 2023-11-13 17:10:40 +13:00
parent 7f4c0a5f10
commit 49646c3107
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ export default function SetList() {
style={{ flex: 1 }}
renderItem={renderItem}
onEndReached={next}
onEndReachedThreshold={0.99}
onEndReachedThreshold={0.5}
refreshing={refreshing}
keyExtractor={(set) => set.id?.toString()}
onRefresh={() => {

View File

@ -3,4 +3,4 @@ export const PADDING = 10;
export const ITEM_PADDING = 8;
export const DARK_RIPPLE = "#444444";
export const LIGHT_RIPPLE = "#c2c2c2";
export const LIMIT = 50;
export const LIMIT = 15;