fix(IOS-INFO-043): add parse progress overlay to MaterialReaderView
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
042256913e
commit
f25538cf5a
@ -227,6 +227,18 @@ struct MaterialReaderView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.overlay(alignment: .bottom) {
|
||||||
|
if isParsing {
|
||||||
|
HStack(spacing: 8) {
|
||||||
|
ProgressView().tint(.white)
|
||||||
|
Text(parseMessage).font(.system(size: 13, weight: .medium)).foregroundColor(.white)
|
||||||
|
}
|
||||||
|
.padding(.horizontal, 16).padding(.vertical, 10)
|
||||||
|
.background(Color.black.opacity(0.75))
|
||||||
|
.clipShape(Capsule())
|
||||||
|
.padding(.bottom, 100)
|
||||||
|
}
|
||||||
|
}
|
||||||
.task { await vm.load() }
|
.task { await vm.load() }
|
||||||
.sheet(isPresented: $showQuickLook) {
|
.sheet(isPresented: $showQuickLook) {
|
||||||
QuickLookPreview(url: URL(fileURLWithPath: vm.filePath))
|
QuickLookPreview(url: URL(fileURLWithPath: vm.filePath))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user