Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

updates count validation to fix 1 page pdf issue #13

Closed
wants to merge 1 commit into from

Conversation

jags-aaron
Copy link

Fixes the issue: #11

image

@@ -169,7 +169,7 @@ class _PDFViewerState extends State<PDFViewer> {
Widget _drawIndicator() {
Widget child = GestureDetector(
onTap:
widget.showPicker && widget.document.count > 1 ? _pickPage : null,
widget.showPicker && widget.document.count >= 1 ? _pickPage : null,
Copy link

@ruan65 ruan65 Feb 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

">0" is the same

@lohanidamodar
Copy link
Owner

@jags-aaron did not completely resolve the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants