mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-28 13:36:50 +00:00
Merge pull request #71 from SchrodingersGat/foreign-chars-fix
Foreign chars fix
This commit is contained in:
commit
a01e2151d9
@ -8,7 +8,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:4.1.0'
|
classpath 'com.android.tools.build:gradle:4.2.0'
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
|||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-all.zip
|
@ -785,8 +785,11 @@ class InvenTreeAPI {
|
|||||||
Future<APIResponse> completeRequest(HttpClientRequest request, {String? data, int? statusCode}) async {
|
Future<APIResponse> completeRequest(HttpClientRequest request, {String? data, int? statusCode}) async {
|
||||||
|
|
||||||
if (data != null && data.isNotEmpty) {
|
if (data != null && data.isNotEmpty) {
|
||||||
request.headers.set(HttpHeaders.contentLengthHeader, data.length.toString());
|
|
||||||
request.add(utf8.encode(data));
|
var encoded_data = utf8.encode(data);
|
||||||
|
|
||||||
|
request.headers.set(HttpHeaders.contentLengthHeader, encoded_data.length.toString());
|
||||||
|
request.add(encoded_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
APIResponse response = new APIResponse(
|
APIResponse response = new APIResponse(
|
||||||
|
2
lib/l10n
2
lib/l10n
@ -1 +1 @@
|
|||||||
Subproject commit 1dbd8c1ec48b642f63170333a769ad9df83c6baa
|
Subproject commit c7e8c69216e17972432178db6fb2d8b3136e7a06
|
@ -28,7 +28,7 @@ packages:
|
|||||||
name: audioplayers
|
name: audioplayers
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.19.0"
|
version: "0.20.1"
|
||||||
back_button_interceptor:
|
back_button_interceptor:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -39,7 +39,7 @@ dependencies:
|
|||||||
sembast: ^3.1.0+2 # NoSQL data storage
|
sembast: ^3.1.0+2 # NoSQL data storage
|
||||||
one_context: ^1.1.0 # Dialogs without requiring context
|
one_context: ^1.1.0 # Dialogs without requiring context
|
||||||
infinite_scroll_pagination: ^3.1.0 # Let the server do all the work!
|
infinite_scroll_pagination: ^3.1.0 # Let the server do all the work!
|
||||||
audioplayers: ^0.19.0 # Play audio files
|
audioplayers: ^0.20.1 # Play audio files
|
||||||
dropdown_search: 0.6.3 # Dropdown autocomplete form fields
|
dropdown_search: 0.6.3 # Dropdown autocomplete form fields
|
||||||
path:
|
path:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user