Skip to content

Commit 8a58ba7

Browse files
committed
Hide number picker if single page PDF
1 parent 1f97fe9 commit 8a58ba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/viewer.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class _PDFViewerState extends State<PDFViewer> {
129129
: Container(),
130130
],
131131
),
132-
floatingActionButton: widget.showPicker
132+
floatingActionButton: widget.showPicker && widget.document.count > 1
133133
? FloatingActionButton(
134134
elevation: 4.0,
135135
tooltip: widget.tooltip.jump,

0 commit comments

Comments
 (0)