feat(iOS): support open file with Readest in Files App, closes #2334 (#2705)

This commit is contained in:
Huang Xin
2025-12-13 20:28:03 +08:00
committed by GitHub
parent 730fadb834
commit c1530cc5c4
10 changed files with 261 additions and 16 deletions
@@ -178,7 +178,7 @@ const ReaderContent: React.FC<{ ids?: string; settings: SystemSettings }> = ({ i
}
dismissBook(bookKey);
if (bookKeys.filter((key) => key !== bookKey).length == 0) {
const openWithFiles = (await parseOpenWithFiles()) || [];
const openWithFiles = (await parseOpenWithFiles(appService)) || [];
if (appService?.hasWindow) {
if (openWithFiles.length > 0) {
tauriHandleOnCloseWindow(handleCloseBooks);