mirror of
https://github.com/Andre-Bzk/twitch4steamdeck.git
synced 2026-11-16 10:06:02 +01:00
Fix: Sidebar Darstellung korrigert
- Zusätzlich Menueinträge Top Streams - Topstreams DE und EN anzeige filterte Livestreams. - Einstellung Sidebarbreite und Flaggenbadge (Slider) hinzugefügt.
This commit is contained in:
@@ -60,7 +60,13 @@ export function registerIpcHandlers(
|
||||
)
|
||||
ipcMain.handle(
|
||||
IPC.twitchGetTopStreams,
|
||||
(_e, gameId?: string) => helix.getTopStreams(gameId ? { gameId, limit: 40 } : { limit: 100 })
|
||||
(_e, options?: { gameId?: string; language?: string; cursor?: string; limit?: number }) =>
|
||||
helix.getTopStreams({
|
||||
gameId: options?.gameId,
|
||||
language: options?.language,
|
||||
cursor: options?.cursor,
|
||||
limit: options?.limit ?? (options?.gameId ? 40 : 100)
|
||||
})
|
||||
)
|
||||
ipcMain.handle(
|
||||
IPC.twitchGetVideos,
|
||||
|
||||
Reference in New Issue
Block a user