From ab5df3c9ef07eee192161d7d1eefd7ae82f40501 Mon Sep 17 00:00:00 2001 From: sarendsen Date: Thu, 13 Mar 2025 15:57:56 +0100 Subject: [PATCH] fix: limit item titel to oneline --- components/ItemCardText.tsx | 4 ++-- utils/background-tasks.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/ItemCardText.tsx b/components/ItemCardText.tsx index dd9176b0..2a9995e1 100644 --- a/components/ItemCardText.tsx +++ b/components/ItemCardText.tsx @@ -13,7 +13,7 @@ export const ItemCardText: React.FC = ({ item }) => { {item.Type === "Episode" ? ( <> - + {item.Name} @@ -24,7 +24,7 @@ export const ItemCardText: React.FC = ({ item }) => { ) : ( <> - {item.Name} + {item.Name} {item.ProductionYear} )} diff --git a/utils/background-tasks.ts b/utils/background-tasks.ts index b066692a..6f92d83f 100644 --- a/utils/background-tasks.ts +++ b/utils/background-tasks.ts @@ -30,6 +30,7 @@ export const BACKGROUND_FETCH_TASK_SESSIONS = export async function registerBackgroundFetchAsyncSessions() { try { + console.log("Registering background fetch sessions"); BackgroundFetch.registerTaskAsync(BACKGROUND_FETCH_TASK_SESSIONS, { minimumInterval: 1 * 60, // 1 minutes stopOnTerminate: false, // android only,