From 4e3732597bd3ed4b02a72f89c451aeac7d0e39ec Mon Sep 17 00:00:00 2001 From: Mark-cachy Date: Thu, 15 Oct 2026 17:05:19 +0200 Subject: [PATCH] fix upload allegati --- lib/features/attachments/models/attachment_model.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/features/attachments/models/attachment_model.dart b/lib/features/attachments/models/attachment_model.dart index 3bfcb3c..1ce6055 100644 --- a/lib/features/attachments/models/attachment_model.dart +++ b/lib/features/attachments/models/attachment_model.dart @@ -189,7 +189,7 @@ class AttachmentModel extends Equatable { 'company_id': companyId, 'thumbnail_path': thumbnailPath, 'cropped_storage_path': croppedStoragePath, - 'view_mode': viewMode?.value, + 'view_mode': (viewMode ?? AttachmentViewMode.original).value, }; } } diff --git a/pubspec.yaml b/pubspec.yaml index 66546f1..029a5b0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: flux description: "Gestione attività negozio di telefonia" publish_to: 'none' -version: 2.5.1+85 +version: 2.5.2+86 environment: sdk: ^3.11.3