fix(notes): чиним кружки — сплющивание/поворот

This commit is contained in:
klockky
2026-06-25 17:31:31 +03:00
parent 37e3763384
commit 8bcd308973
3 changed files with 66 additions and 40 deletions
+3 -1
View File
@@ -208,7 +208,9 @@ class FileUploader {
'uploadMediaFile: status=$statusCode total=$total '
'host=${uri.host} body=${respBody.length > 200 ? respBody.substring(0, 200) : respBody}',
);
return statusCode == 200;
final hasError =
respBody.contains('error_msg') || respBody.contains('error_code');
return statusCode == 200 && !hasError;
} catch (e) {
logger.w('uploadMediaFile: $e');
try {