diff --git a/src/screens/BrowseSourceScreen/useBrowseSource.ts b/src/screens/BrowseSourceScreen/useBrowseSource.ts index fa41e91180..5b81e49092 100644 --- a/src/screens/BrowseSourceScreen/useBrowseSource.ts +++ b/src/screens/BrowseSourceScreen/useBrowseSource.ts @@ -55,6 +55,9 @@ export const useBrowseSource = ( }, [fetchNovels, currentPage]); const refetchNovels = () => { + isScreenMounted.current = true; + setError(''); + setIsLoading(true); setCurrentPage(1); fetchNovels(1); }; diff --git a/src/screens/reader/ReaderScreen.js b/src/screens/reader/ReaderScreen.js index c7d2e5d369..1d45edd1c8 100644 --- a/src/screens/reader/ReaderScreen.js +++ b/src/screens/reader/ReaderScreen.js @@ -398,6 +398,7 @@ const ChapterContent = ({ route, navigation }) => { iconName: 'refresh', title: getString('common.retry'), onPress: () => { + setError(''); setLoading(true); getChapter(chapterId); },