Showing
3 changed files
with
10 additions
and
2 deletions
1 | +## [4.1.4] | ||
2 | +- Adjust operator + and - to RxInt (@eduardoflorence) | ||
3 | +- Fix dark theme (@eduardoflorence) | ||
4 | +- Fix form-urlencoded on GetConnect (@aramayyes) | ||
5 | + | ||
6 | + | ||
1 | ## [4.1.3] | 7 | ## [4.1.3] |
2 | - Fix "Error: A value of type 'Locale?' can't be returned from a function"on flutter web (@nickwri) | 8 | - Fix "Error: A value of type 'Locale?' can't be returned from a function"on flutter web (@nickwri) |
3 | - Fix plural translations to expressions >1 (@WolfVic) | 9 | - Fix plural translations to expressions >1 (@WolfVic) |
@@ -103,7 +103,9 @@ class GetHttpClient { | @@ -103,7 +103,9 @@ class GetHttpClient { | ||
103 | headers['content-length'] = bodyBytes.length.toString(); | 103 | headers['content-length'] = bodyBytes.length.toString(); |
104 | headers['content-type'] = | 104 | headers['content-type'] = |
105 | 'multipart/form-data; boundary=${body.boundary}'; | 105 | 'multipart/form-data; boundary=${body.boundary}'; |
106 | - } else if (contentType != null && contentType.toLowerCase() == 'application/x-www-form-urlencoded' && body is Map) { | 106 | + } else if (contentType != null && |
107 | + contentType.toLowerCase() == 'application/x-www-form-urlencoded' && | ||
108 | + body is Map) { | ||
107 | var parts = []; | 109 | var parts = []; |
108 | (body as Map<String, dynamic>).forEach((key, value) { | 110 | (body as Map<String, dynamic>).forEach((key, value) { |
109 | parts.add('${Uri.encodeQueryComponent(key)}=' | 111 | parts.add('${Uri.encodeQueryComponent(key)}=' |
1 | name: get | 1 | name: get |
2 | description: Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX. | 2 | description: Open screens/snackbars/dialogs without context, manage states and inject dependencies easily with GetX. |
3 | -version: 4.1.3 | 3 | +version: 4.1.4 |
4 | homepage: https://github.com/jonataslaw/getx | 4 | homepage: https://github.com/jonataslaw/getx |
5 | 5 | ||
6 | environment: | 6 | environment: |
-
Please register or login to post a comment