[READ-ONLY] Mirror of https://github.com/probablykasper/kadium. App for staying ontop of YouTube channels' uploads kadium.kasper.space
linux macos notifications tauri windows youtube
0

Configure Feed

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

Fix total video count not showing

Kasper (Feb 28, 2022, 6:08 PM +0100) 0591a124 4a513f57

+6 -2
+3
CHANGELOG.md
··· 1 1 # Changelog 2 2 3 + ## Next 4 + - Fix total video count not showing 5 + 3 6 ## 1.2.1 - 2022 Feb 26 4 7 - Fix video loading issue 5 8
+3 -2
src/routes/Videos.svelte
··· 13 13 async function getVideos(options: ViewOptions) { 14 14 loading = true 15 15 16 - videos = await runCmd('get_videos', { options }) 16 + const newVideos = await runCmd('get_videos', { options }) 17 17 allLoaded = videos.length < $viewOptions.limit 18 + videos = newVideos 18 19 selectedIndex = 0 19 20 selectionVisible = false 20 21 ··· 33 34 id: videos[videos.length - 1].id, 34 35 }, 35 36 }) 37 + allLoaded = newVideos.length < $viewOptions.limit 36 38 videos = videos.concat(newVideos) 37 - allLoaded = videos.length < $viewOptions.limit 38 39 39 40 loading = false 40 41 await tick()