fix: update textContentType for username input to oneTimeCode (#587)

This commit is contained in:
Ahmed Sbai
2025-03-15 09:21:24 +01:00
committed by GitHub
parent 9f17f13175
commit 10bfa95060
7 changed files with 46 additions and 46 deletions

View File

@@ -1,12 +1,11 @@
import { useImageColors } from "@/hooks/useImageColors";
import { apiAtom } from "@/providers/JellyfinProvider";
import { getItemImage } from "@/utils/getItemImage";
import { Ionicons } from "@expo/vector-icons";
import { BaseItemDto } from "@jellyfin/sdk/lib/generated-client/models";
import { Image, ImageProps, ImageSource } from "expo-image";
import { Image, ImageProps } from "expo-image";
import { useAtom } from "jotai";
import { useMemo } from "react";
import { View } from "react-native";
import {FC, useMemo} from "react";
import { View, ViewProps } from "react-native";
interface Props extends ImageProps {
item: BaseItemDto;
@@ -25,7 +24,7 @@ interface Props extends ImageProps {
onError?: () => void;
}
export const ItemImage: React.FC<Props> = ({
export const ItemImage: FC<Props> = ({
item,
variant = "Primary",
quality = 90,
@@ -53,7 +52,7 @@ export const ItemImage: React.FC<Props> = ({
if (!source?.uri)
return (
<View
{...props}
{...props as ViewProps}
className="flex flex-col items-center justify-center border border-neutral-800 bg-neutral-900"
>
<Ionicons