mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 18:13:25 +00:00
chore: cleanup
This commit is contained in:
@@ -29,7 +29,7 @@ const DownloadsScreen: React.FC = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ScreenLayout title="Downloads">
|
<ScreenLayout>
|
||||||
<MWButton
|
<MWButton
|
||||||
type="secondary"
|
type="secondary"
|
||||||
backgroundColor="$sheetItemBackground"
|
backgroundColor="$sheetItemBackground"
|
||||||
|
@@ -10,7 +10,7 @@ export default function HomeScreen() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={{ flex: 1 }} flex={1}>
|
<View style={{ flex: 1 }} flex={1}>
|
||||||
<ScreenLayout title="Home">
|
<ScreenLayout>
|
||||||
<ItemListSection title="Bookmarks" items={bookmarks} />
|
<ItemListSection title="Bookmarks" items={bookmarks} />
|
||||||
<ItemListSection title="Continue Watching" items={watching} />
|
<ItemListSection title="Continue Watching" items={watching} />
|
||||||
</ScreenLayout>
|
</ScreenLayout>
|
||||||
|
@@ -1,11 +1,5 @@
|
|||||||
import { Text } from "tamagui";
|
|
||||||
|
|
||||||
import ScreenLayout from "~/components/layout/ScreenLayout";
|
import ScreenLayout from "~/components/layout/ScreenLayout";
|
||||||
|
|
||||||
export default function MovieWebScreen() {
|
export default function MovieWebScreen() {
|
||||||
return (
|
return <ScreenLayout></ScreenLayout>;
|
||||||
<ScreenLayout title="movie-web">
|
|
||||||
<Text>movie-web config tab</Text>
|
|
||||||
</ScreenLayout>
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
@@ -7,7 +7,7 @@ import Animated, {
|
|||||||
withTiming,
|
withTiming,
|
||||||
} from "react-native-reanimated";
|
} from "react-native-reanimated";
|
||||||
import { useQuery } from "@tanstack/react-query";
|
import { useQuery } from "@tanstack/react-query";
|
||||||
import { Text, View } from "tamagui";
|
import { View } from "tamagui";
|
||||||
|
|
||||||
import { getMediaPoster, searchTitle } from "@movie-web/tmdb";
|
import { getMediaPoster, searchTitle } from "@movie-web/tmdb";
|
||||||
|
|
||||||
@@ -106,15 +106,7 @@ export default function HomeScreen() {
|
|||||||
keyboardDismissMode="on-drag"
|
keyboardDismissMode="on-drag"
|
||||||
keyboardShouldPersistTaps="handled"
|
keyboardShouldPersistTaps="handled"
|
||||||
>
|
>
|
||||||
<ScreenLayout
|
<ScreenLayout>
|
||||||
title={
|
|
||||||
<View flexDirection="row" alignItems="center">
|
|
||||||
<Text fontWeight="bold" fontSize={20}>
|
|
||||||
Search
|
|
||||||
</Text>
|
|
||||||
</View>
|
|
||||||
}
|
|
||||||
>
|
|
||||||
{searchResultsLoaded && (
|
{searchResultsLoaded && (
|
||||||
<Animated.View style={[searchResultsStyle, { flex: 1 }]}>
|
<Animated.View style={[searchResultsStyle, { flex: 1 }]}>
|
||||||
<View flexDirection="row" flexWrap="wrap">
|
<View flexDirection="row" flexWrap="wrap">
|
||||||
|
@@ -75,7 +75,7 @@ export default function SettingsScreen() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ScreenLayout title="Settings">
|
<ScreenLayout>
|
||||||
<View padding={4}>
|
<View padding={4}>
|
||||||
<YStack>
|
<YStack>
|
||||||
<XStack width={200} alignItems="center" gap="$4">
|
<XStack width={200} alignItems="center" gap="$4">
|
||||||
|
Reference in New Issue
Block a user