Jonathan Salmon
Committed by David PHAM-VAN

Remove extra scroll bars on desktop

@@ -3,6 +3,7 @@ @@ -3,6 +3,7 @@
3 ## 5.6.2 3 ## 5.6.2
4 4
5 - Update Linux and Windows pdfium libraries to 4706 5 - Update Linux and Windows pdfium libraries to 4706
  6 +- Remove extra scroll bars on desktop [Jonathan Salmon]
6 7
7 ## 5.6.1 8 ## 5.6.1
8 9
@@ -491,10 +491,7 @@ class _PdfPreviewState extends State<PdfPreview> with PdfPreviewRaster { @@ -491,10 +491,7 @@ class _PdfPreviewState extends State<PdfPreview> with PdfPreviewRaster {
491 return Column( 491 return Column(
492 mainAxisAlignment: MainAxisAlignment.center, 492 mainAxisAlignment: MainAxisAlignment.center,
493 children: <Widget>[ 493 children: <Widget>[
494 - Expanded(  
495 - child: scrollController.hasClients  
496 - ? Scrollbar(controller: scrollController, child: scrollView)  
497 - : scrollView), 494 + Expanded(child: scrollView),
498 if (actions.isNotEmpty && widget.useActions) 495 if (actions.isNotEmpty && widget.useActions)
499 IconTheme.merge( 496 IconTheme.merge(
500 data: IconThemeData( 497 data: IconThemeData(