From 5fc046b681f830af325ae415c63f32f4846ceb51 Mon Sep 17 00:00:00 2001 From: nTerior <40516991+nTerior@users.noreply.github.com> Date: Fri, 4 Aug 2023 19:22:35 +0200 Subject: [PATCH] Removed a multiplication by 100 --- lib/src/url/cached_pdf_view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/url/cached_pdf_view.dart b/lib/src/url/cached_pdf_view.dart index ab57d92..bd37e44 100644 --- a/lib/src/url/cached_pdf_view.dart +++ b/lib/src/url/cached_pdf_view.dart @@ -66,7 +66,7 @@ class CachedPDFView extends StatelessWidget { return errorWidget!(snapshot.error); } else if (loading) { final double progress = - (((snapshot.data as DownloadProgress?)?.progress ?? 0) * 100) + ((snapshot.data as DownloadProgress?)?.progress ?? 0) .roundToDouble(); return placeholder!(progress); } else {