File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
apps/expo/app/opds/[id]/(tabs)/search Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import { useRefetch , useSDK } from '@stump/client'
22import { useQuery } from '@tanstack/react-query'
33import { useLocalSearchParams } from 'expo-router'
4- import { Rss } from 'lucide-react-native'
54import { Platform , ScrollView } from 'react-native'
65import { SafeAreaView } from 'react-native-safe-area-context'
76
87import ChevronBackLink from '~/components/ChevronBackLink'
8+ import EmptyState from '~/components/EmptyState'
99import { MaybeErrorFeed , OPDSFeed } from '~/components/opds'
1010import RefreshControl from '~/components/RefreshControl'
11- import { ListEmptyMessage } from '~/components/ui'
1211import { useOPDSFeedContext } from '~/context/opds'
1312import { useDynamicHeader } from '~/lib/hooks/useDynamicHeader'
1413import { constructSearchURL } from '~/lib/opdsUtils'
@@ -44,7 +43,7 @@ export default function Screen() {
4443
4544 const render = ( ) => {
4645 if ( emptyFeed ) {
47- return < ListEmptyMessage icon = { Rss } message = "No results for this search " />
46+ return < EmptyState title = "Empty Feed" message = "Your search returned no results " />
4847 } else if ( feed && ! error ) {
4948 return < OPDSFeed feed = { feed } />
5049 } else {
You can’t perform that action at this time.
0 commit comments