use progressview for pdf loading view
This commit is contained in:
@ -136,7 +136,7 @@ import Utils
|
||||
ShareSheet(activityItems: [$0.url])
|
||||
}
|
||||
} else {
|
||||
Text("Loading...")
|
||||
ProgressView()
|
||||
.task {
|
||||
let document = HighlightedDocument(url: pdfURL, viewModel: viewModel)
|
||||
pdfStateObject.document = document
|
||||
|
||||
Reference in New Issue
Block a user