Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/src/url/cached_pdf_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down