forked from Ninjalama/streamyfin_mirror
fix: limit item titel to oneline
This commit is contained in:
@@ -13,7 +13,7 @@ export const ItemCardText: React.FC<ItemCardProps> = ({ item }) => {
|
||||
<View className="mt-2 flex flex-col">
|
||||
{item.Type === "Episode" ? (
|
||||
<>
|
||||
<Text numberOfLines={1} className="">
|
||||
<Text numberOfLines={1} ellipsizeMode="tail" className="">
|
||||
{item.Name}
|
||||
</Text>
|
||||
<Text numberOfLines={1} className="text-xs opacity-50">
|
||||
@@ -24,7 +24,7 @@ export const ItemCardText: React.FC<ItemCardProps> = ({ item }) => {
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<Text numberOfLines={2}>{item.Name}</Text>
|
||||
<Text numberOfLines={1} ellipsizeMode="tail">{item.Name}</Text>
|
||||
<Text className="text-xs opacity-50">{item.ProductionYear}</Text>
|
||||
</>
|
||||
)}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user