Skip to content

Commit

Permalink
Hide number picker if single page PDF
Browse files Browse the repository at this point in the history
  • Loading branch information
ferndot committed Mar 5, 2020
1 parent 1f97fe9 commit 8a58ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/viewer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class _PDFViewerState extends State<PDFViewer> {
: Container(),
],
),
floatingActionButton: widget.showPicker
floatingActionButton: widget.showPicker && widget.document.count > 1
? FloatingActionButton(
elevation: 4.0,
tooltip: widget.tooltip.jump,
Expand Down

0 comments on commit 8a58ba7

Please sign in to comment.