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