From 1a12e545f5c8db2c14d9bf38bf46f3fbfecd3576 Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Mon, 23 May 2022 09:20:52 -0700 Subject: [PATCH] use progressview for pdf loading view --- apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewer.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewer.swift b/apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewer.swift index 1c6672f7b..ea7b59c0f 100644 --- a/apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewer.swift +++ b/apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewer.swift @@ -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