diff --git a/public/main.profile.dart.js b/public/main.profile.dart.js index 5ecbfae20b..b016fe5d47 100644 --- a/public/main.profile.dart.js +++ b/public/main.profile.dart.js @@ -57571,7 +57571,7 @@ if (B.JSString_methods.startsWith$1(url, "https://invoicing.co")) secret = ""; t1 = type$.legacy_String; - headers = A.LinkedHashMap_LinkedHashMap$_literal(["X-CLIENT-VERSION", "5.0.79", "X-API-SECRET", secret, "X-Requested-With", "XMLHttpRequest", "Content-Type", "application/json; charset=utf-8"], t1, t1); + headers = A.LinkedHashMap_LinkedHashMap$_literal(["X-CLIENT-VERSION", "5.0.80", "X-API-SECRET", secret, "X-Requested-With", "XMLHttpRequest", "Content-Type", "application/json; charset=utf-8"], t1, t1); if (token.length !== 0) headers.$indexSet(0, "X-API-Token", token); if ((idToken == null ? "" : idToken).length !== 0) @@ -57594,9 +57594,9 @@ else if (serverVersion == null) throw A.wrapException("Error: please check that Invoice Ninja v5 is installed on the server"); else { - t2 = A.Version__compare(A.Version_parse("5.0.79"), A.Version_parse(minClientVersion)); + t2 = A.Version__compare(A.Version_parse("5.0.80"), A.Version_parse(minClientVersion)); if (t2 < 0) - throw A.wrapException("Error: client not supported, please update to the latest version [Current v5.0.79 < Minimum v" + A.S(minClientVersion) + "]"); + throw A.wrapException("Error: client not supported, please update to the latest version [Current v5.0.80 < Minimum v" + A.S(minClientVersion) + "]"); else { t2 = A.Version__compare(A.Version_parse(serverVersion), A.Version_parse("5.0.4")); if (t2 < 0) @@ -331994,7 +331994,7 @@ version = "v" + (t1 == null ? "" : t1); if (version.length !== 0) version += "-"; - return B.JSString_methods.$add(version + A.getPlatformLetter(), B.JSArray_methods.get$last("5.0.79".split("."))); + return B.JSString_methods.$add(version + A.getPlatformLetter(), B.JSArray_methods.get$last("5.0.80".split("."))); }, get$historyList() { var _this = this, @@ -405271,7 +405271,7 @@ if (_this._invoice_edit_desktop$_response == null) t1 = new A.SizedBox(_null, _null, _null, _null); else - t1 = state.prefState.enableJSPDF ? A.PdfPreview$(new A.__PdfPreviewState_build_closure1(_this), false, false, false, 800, A._setArrayType([_this._currentPage - 1], type$.JSArray_legacy_int)) : new A.HtmlElementView(_this._invoice_edit_desktop$_pdfString, _null); + t1 = state.prefState.enableJSPDF || false ? A.PdfPreview$(new A.__PdfPreviewState_build_closure1(_this), false, false, false, 800, A._setArrayType([_this._currentPage - 1], type$.JSArray_legacy_int)) : new A.HtmlElementView(_this._invoice_edit_desktop$_pdfString, _null); t3.push(A.Expanded$(t1, 1)); t2 = A._setArrayType([A.Column$(t3, B.CrossAxisAlignment_3, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1)], t2); if (_this._invoice_edit_desktop$_isLoading) {