diff --git a/src/screens/library/LibraryScreen.tsx b/src/screens/library/LibraryScreen.tsx index beea9ec0..89e457f9 100644 --- a/src/screens/library/LibraryScreen.tsx +++ b/src/screens/library/LibraryScreen.tsx @@ -23,6 +23,8 @@ import { import { SearchbarV2, Button, + EmptyView, + ErrorScreenV2, SafeAreaView, TopTabBar, } from '@components/index'; @@ -86,6 +88,7 @@ const LibraryScreen = ({ navigation }: LibraryScreenProps) => { categories, refetchLibrary, isLoading, + error: libraryError, settings: { showNumberOfNovels, downloadedOnlyMode, @@ -258,9 +261,7 @@ const LibraryScreen = ({ navigation }: LibraryScreenProps) => { ) : unfilteredNovels; - return isLoading ? ( - - ) : ( + return ( <> {searchText ? (