Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

feat: add loading indicator to ListFooter for fetching next page in Links component

daniel31x1378db1fa174f0
diff --git a/apps/mobile/components/Links.tsx b/apps/mobile/components/Links.tsx
index a3daa6b8..b08eb219 100644
--- a/apps/mobile/components/Links.tsx
+++ b/apps/mobile/components/Links.tsx
@@ -69,6 +69,13 @@ export default function Links({ links, data }: Props) {
</Text>
</View>
}
+ ListFooterComponent={
+ data.isFetchingNextPage ? (
+ <View className="py-4 items-center">
+ <ActivityIndicator size="small" />
+ </View>
+ ) : null
+ }
onViewableItemsChanged={({
viewableItems,
}: {