appview-less bluesky client
27
fork

Configure Feed

Select the types of activity you want to include in your feed.

keep loading more posts if we have less threads

dawn c245d398 8efac2b4

+4 -6
+2 -2
src/components/FeedTimelineView.svelte
··· 120 120 } catch (error) { 121 121 loadError = `${error}`; 122 122 loaderState.error(); 123 + } finally { 124 + loading = false; 123 125 } 124 - 125 - loading = false; 126 126 }; 127 127 128 128 $effect(() => {
+2 -4
src/components/GenericTimelineView.svelte
··· 87 87 } catch (error) { 88 88 loadError = `${error}`; 89 89 loaderState.error(); 90 + } finally { 90 91 loading = false; 91 - return; 92 92 } 93 - 94 - loading = false; 95 93 }; 96 94 97 95 $effect(() => { 98 - const isEmpty = threads.length === 0; 96 + const isEmpty = threads.length < 15; 99 97 if (isEmpty && !loading && shouldLoad && !isComplete) loadMore(); 100 98 }); 101 99 </script>