mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-31 14:33:50 -04:00
Fix safe area in movies details page
This commit is contained in:
parent
9d8e2e25e2
commit
e1059aceed
@ -1,16 +1,14 @@
|
||||
import { Platform, ScrollView } from "react-native";
|
||||
import { useYoshiki } from "yoshiki/native";
|
||||
import { Movie } from "~/models";
|
||||
import type { QueryIdentifier } from "~/query";
|
||||
import { ScrollView } from "react-native";
|
||||
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
||||
import { useQueryState } from "~/utils";
|
||||
import { Header } from "./header";
|
||||
|
||||
export const MovieDetails = () => {
|
||||
const [slug] = useQueryState("slug", undefined!);
|
||||
const { css } = useYoshiki();
|
||||
const insets = useSafeAreaInsets();
|
||||
|
||||
return (
|
||||
<ScrollView>
|
||||
<ScrollView contentContainerStyle={{ paddingBottom: insets.bottom }}>
|
||||
<Header kind="movie" slug={slug} />
|
||||
</ScrollView>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user