[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.

Handle non-existant filterInput, just in case

Kasper (Aug 30, 2025, 11:10 AM +0200) 0d81340f 3da4c71c

+4 -5
-1
src/routes/+page.svelte
··· 1 1 <script lang="ts"> 2 2 import { type ViewOptions, viewOptions } from '$lib/data' 3 3 import { openUrl } from '@tauri-apps/plugin-opener' 4 - import { event } from '@tauri-apps/api' 5 4 import { listen } from '@tauri-apps/api/event' 6 5 import { onDestroy, tick } from 'svelte' 7 6 import type { Video } from '../../bindings'
+2 -2
src/routes/_VideoBar.svelte
··· 47 47 } 48 48 } 49 49 50 - let filterInput: HTMLInputElement 50 + let filterInput: HTMLInputElement | undefined 51 51 menu_actions.Find = () => { 52 - filterInput.focus() 52 + filterInput?.focus() 53 53 } 54 54 55 55 function blurEscapeKeydown(e: KeyboardEvent) {
+2 -2
src/routes/channels/+page.svelte
··· 47 47 } 48 48 49 49 let filter = '' 50 - let filterInput: HTMLInputElement 50 + let filterInput: HTMLInputElement | undefined 51 51 menu_actions.Find = () => { 52 - filterInput.focus() 52 + filterInput?.focus() 53 53 } 54 54 55 55 let channels_scroll_el: HTMLDivElement