diff --git a/AIStudyApp/AIStudyApp/Features/MaterialReader/MaterialReaderView.swift b/AIStudyApp/AIStudyApp/Features/MaterialReader/MaterialReaderView.swift index 6dc6818..bbd58e7 100644 --- a/AIStudyApp/AIStudyApp/Features/MaterialReader/MaterialReaderView.swift +++ b/AIStudyApp/AIStudyApp/Features/MaterialReader/MaterialReaderView.swift @@ -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() } .sheet(isPresented: $showQuickLook) { QuickLookPreview(url: URL(fileURLWithPath: vm.filePath))