mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-04 22:24:14 -04:00
Fix types
This commit is contained in:
parent
e176664bb4
commit
dd62f8f8ac
@ -56,6 +56,7 @@
|
|||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"blurhash": "^2.0.5",
|
"blurhash": "^2.0.5",
|
||||||
"react-native-blurhash": "^1.1.11",
|
"react-native-blurhash": "^1.1.11",
|
||||||
"react-native-fast-image": "^8.6.3"
|
"react-native-fast-image": "^8.6.3",
|
||||||
|
"react-native-safe-area-context": "4.6.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -210,7 +210,9 @@ export const EpisodeLine = ({
|
|||||||
watchedPercent: number | null;
|
watchedPercent: number | null;
|
||||||
watchedStatus: WatchStatusV | null;
|
watchedStatus: WatchStatusV | null;
|
||||||
href: string;
|
href: string;
|
||||||
}>) => {
|
}> &
|
||||||
|
PressableProps &
|
||||||
|
Stylable) => {
|
||||||
const [moreOpened, setMoreOpened] = useState(false);
|
const [moreOpened, setMoreOpened] = useState(false);
|
||||||
const { css } = useYoshiki("episode-line");
|
const { css } = useYoshiki("episode-line");
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
@ -58,7 +58,7 @@ export const NewsList = () => {
|
|||||||
<EpisodeBox
|
<EpisodeBox
|
||||||
isLoading={x.isLoading as any}
|
isLoading={x.isLoading as any}
|
||||||
slug={x.slug}
|
slug={x.slug}
|
||||||
showSlug={x.showId}
|
showSlug={x.kind === NewsKind.Episode ? x.showId : null}
|
||||||
name={
|
name={
|
||||||
x.kind === NewsKind.Episode
|
x.kind === NewsKind.Episode
|
||||||
? `${x.show!.name} ${episodeDisplayNumber(x)}`
|
? `${x.show!.name} ${episodeDisplayNumber(x)}`
|
||||||
|
@ -2886,6 +2886,7 @@ __metadata:
|
|||||||
blurhash: ^2.0.5
|
blurhash: ^2.0.5
|
||||||
react-native-blurhash: ^1.1.11
|
react-native-blurhash: ^1.1.11
|
||||||
react-native-fast-image: ^8.6.3
|
react-native-fast-image: ^8.6.3
|
||||||
|
react-native-safe-area-context: 4.6.3
|
||||||
solito: ^4.1.3
|
solito: ^4.1.3
|
||||||
typescript: ^5.3.2
|
typescript: ^5.3.2
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -2910,6 +2911,8 @@ __metadata:
|
|||||||
optional: true
|
optional: true
|
||||||
react-native-fast-image:
|
react-native-fast-image:
|
||||||
optional: true
|
optional: true
|
||||||
|
react-native-safe-area-context:
|
||||||
|
optional: true
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
"@gorhom/portal":
|
"@gorhom/portal":
|
||||||
optional: true
|
optional: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user