Open dongwooklee96 opened 2 years ago
Hi everyone In case that a PDF file has only 1 page, BottomNavigationBar does not appear at version 2.0.1 I think it would be a side effect. The code handling the display condition of BottomNavigationBar should be changed as below, before https://github.com/lohanidamodar/pdf_viewer/blob/43ae962390ac51cd79b418f592073b14a871ece1/lib/src/viewer.dart#L265
after
bottomNavigationBar: (widget.showNavigation && widget.document.count >= 1)
What do you think about it?
PR: https://github.com/lohanidamodar/pdf_viewer/pull/98
Hi everyone In case that a PDF file has only 1 page, BottomNavigationBar does not appear at version 2.0.1 I think it would be a side effect. The code handling the display condition of BottomNavigationBar should be changed as below, before https://github.com/lohanidamodar/pdf_viewer/blob/43ae962390ac51cd79b418f592073b14a871ece1/lib/src/viewer.dart#L265
after
What do you think about it?
PR: https://github.com/lohanidamodar/pdf_viewer/pull/98