From 611d446f7be7358109ed1dc7f31600b8dc128349 Mon Sep 17 00:00:00 2001 From: DatDang Date: Thu, 17 Apr 2025 16:32:16 +0700 Subject: [PATCH] TF-3661 Fix memory leak file picker --- pubspec.lock | 9 +++++---- pubspec.yaml | 7 +++++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index dbcd8237b..5ac9fbbd5 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -588,10 +588,11 @@ packages: file_picker: dependency: "direct main" description: - name: file_picker - sha256: "2ca051989f69d1b2ca012b2cf3ccf78c70d40144f0861ff2c063493f7c8c3d45" - url: "https://pub.dev" - source: hosted + path: "." + ref: "fixbug/tmail-0.15.12-memory-leak" + resolved-ref: b9a5bf750554ca1b0cb98ae2b57167e5b0310582 + url: "https://github.com/linagora/flutter_file_picker.git" + source: git version: "8.0.5" filesize: dependency: "direct main" diff --git a/pubspec.yaml b/pubspec.yaml index 56ead9dd5..c3fc247f4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -297,6 +297,13 @@ dependency_overrides: json_annotation: 4.8.1 + # TODO: Remove and upgrade file_picker after + # https://github.com/miguelpruivo/flutter_file_picker/pull/1771 is merged and published + file_picker: + git: + url: https://github.com/linagora/flutter_file_picker.git + ref: fixbug/tmail-0.15.12-memory-leak + # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec