[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better export to epub #1144

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
forced ascending
  • Loading branch information
CD-Z committed Jul 27, 2024
commit 2f36985041fb46161f686a3caa7e5ef795248ea8
3 changes: 2 additions & 1 deletion src/screens/novel/NovelScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ const Novel = ({ route, navigation }: NovelScreenProps) => {
refreshChapters,
deleteChapters,
} = useNovel(path, pluginId);

const theme = useTheme();
const { top: topInset, bottom: bottomInset } = useSafeAreaInsets();

Expand Down Expand Up @@ -381,7 +382,7 @@ const Novel = ({ route, navigation }: NovelScreenProps) => {
{selected.length === 0 ? (
<NovelAppbar
novel={novel}
chapters={chapters}
chapters={sort.includes('DESC') ? chapters.slice().reverse() : chapters}
deleteChapters={deleteChs}
downloadChapters={downloadChs}
showEditInfoModal={showEditInfoModal}
Expand Down