diff --git a/lib/ui/invoice/edit/invoice_edit_desktop.dart b/lib/ui/invoice/edit/invoice_edit_desktop.dart index 8be7f9bbcbb..c146119bb22 100644 --- a/lib/ui/invoice/edit/invoice_edit_desktop.dart +++ b/lib/ui/invoice/edit/invoice_edit_desktop.dart @@ -866,7 +866,7 @@ class _PdfPreview extends StatefulWidget { class __PdfPreviewState extends State<_PdfPreview> { final _pdfDebouncer = Debouncer(milliseconds: kMillisecondsToDebounceSave); - bool _isLoading = true; + bool _isLoading = false; String _pdfString; PdfController _pdfController; diff --git a/lib/ui/invoice/edit/invoice_edit_pdf.dart b/lib/ui/invoice/edit/invoice_edit_pdf.dart index 90ae39b074c..7d6fad7e594 100644 --- a/lib/ui/invoice/edit/invoice_edit_pdf.dart +++ b/lib/ui/invoice/edit/invoice_edit_pdf.dart @@ -25,7 +25,7 @@ class InvoiceEditPDF extends StatefulWidget { } class InvoiceEditPDFState extends State { - bool _isLoading = true; + bool _isLoading = false; String _pdfString; PdfController _pdfController;