mirror of
https://github.com/Aminark/legado-ios.git
synced 2026-10-24 21:01:22 +08:00
feat: 支持 EPUB 阅读并改善规则兼容与阅读稳定性
支持 EPUB 2/3 导入、目录、封面和章节插图,保留本地书管理与阅读进度。 修复 JSON 模板、动态替换与请求参数兼容,以及 RSS 翻页和连续滚动定位。 更新编辑器工具栏和回归测试,发布版本为 0.1.12(build 18)。
This commit is contained in:
@@ -227,7 +227,7 @@ private struct BookshelfView: View {
|
||||
}
|
||||
.background(ReadingTheme.canvas)
|
||||
.navigationBarHidden(true)
|
||||
.readingTXTFileImporter(isPresented: $showsLocalImporter) { files in
|
||||
.readingLocalBookFileImporter(isPresented: $showsLocalImporter) { files in
|
||||
pendingLocalFiles = files
|
||||
} onError: { error in
|
||||
library.reportError(error)
|
||||
@@ -449,7 +449,7 @@ private struct BookshelfBookDestination: View {
|
||||
let source: BookSource?
|
||||
|
||||
var body: some View {
|
||||
if ProcessInfo.processInfo.arguments.contains("-uiDemo") {
|
||||
if ProcessInfo.processInfo.arguments.contains("-uiDemo"), book.origin != "local" {
|
||||
ReaderView(demoBook: book, chapters: DemoContent.readerChapters, initialIndex: 0, content: DemoContent.readerText)
|
||||
} else {
|
||||
BookshelfReadView(book: book, source: source)
|
||||
@@ -912,6 +912,8 @@ struct SearchView: View {
|
||||
} label: {
|
||||
Label("搜索选项", systemImage: "slider.horizontal.3")
|
||||
}
|
||||
.accessibilityLabel("搜索选项")
|
||||
.accessibilityIdentifier("search.options")
|
||||
}
|
||||
}
|
||||
.sheet(isPresented: $showsScope) {
|
||||
|
||||
Reference in New Issue
Block a user