From bc3aecf623f606abc78bd8299a6d4bdfb5d60f48 Mon Sep 17 00:00:00 2001 From: hoangvu12 Date: Wed, 22 Nov 2023 00:51:30 +0700 Subject: [PATCH] feat(anime-screen): add see more to this and next season section --- src/screens/anime/screen.tsx | 52 +++++++++++++++++++++++++++++++++--- 1 file changed, 49 insertions(+), 3 deletions(-) diff --git a/src/screens/anime/screen.tsx b/src/screens/anime/screen.tsx index 19acc5a..237b3a9 100644 --- a/src/screens/anime/screen.tsx +++ b/src/screens/anime/screen.tsx @@ -1,8 +1,16 @@ +import { useNavigation } from '@react-navigation/native'; import * as React from 'react'; import { ScrollView } from 'react-native'; import useModuleLinking from '@/hooks/use-module-linking'; -import { FocusAwareStatusBar, Text, View } from '@/ui'; +import { + Button, + FocusAwareStatusBar, + getNextSeason, + getSeason, + Text, + View, +} from '@/ui'; import { BannerList } from '@/ui/banner-card'; import AiringTodayList from './components/airing-today-list'; @@ -14,6 +22,8 @@ import WatchedList from './components/watched-list'; export const AnimeHomeScreen = () => { useModuleLinking(); + const navigation = useNavigation(); + return ( <> @@ -37,13 +47,49 @@ export const AnimeHomeScreen = () => { - Popular this season + + Popular this season + + + - Upcoming next season + + Upcoming next season + + +