From fd16df55c77156f3885d56eb9ab86813cb497882 Mon Sep 17 00:00:00 2001 From: Romo <85642291+romoisverycool@users.noreply.github.com> Date: Fri, 6 Feb 2026 20:38:35 +0100 Subject: [PATCH 1/2] fix: image and video download complete notification shows "file_name" --- mobile/lib/utils/bootstrap.dart | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mobile/lib/utils/bootstrap.dart b/mobile/lib/utils/bootstrap.dart index 84a9ab52e1d5e..4a4eda9dc19ed 100644 --- a/mobile/lib/utils/bootstrap.dart +++ b/mobile/lib/utils/bootstrap.dart @@ -27,19 +27,18 @@ import 'package:isar/isar.dart'; import 'package:path_provider/path_provider.dart'; void configureFileDownloaderNotifications() { - final fileName = 'file_name'.t(args: {'file_name': '{filename}'}); FileDownloader().configureNotificationForGroup( kDownloadGroupImage, - running: TaskNotification('downloading_media'.t(), fileName), - complete: TaskNotification('download_finished'.t(), fileName), + running: TaskNotification('downloading_media'.t(), '${'file_name_text'.t()}: {filename}'), + complete: TaskNotification('download_finished'.t(), '${'file_name_text'.t()}: {filename}'), progressBar: true, ); FileDownloader().configureNotificationForGroup( kDownloadGroupVideo, - running: TaskNotification('downloading_media'.t(), fileName), - complete: TaskNotification('download_finished'.t(), fileName), + running: TaskNotification('downloading_media'.t(), '${'file_name_text'.t()}: {filename}'), + complete: TaskNotification('download_finished'.t(), '${'file_name_text'.t()}: {filename}'), progressBar: true, ); From f78ec400af02f6d89dfa4217e1696b6c9c5d408e Mon Sep 17 00:00:00 2001 From: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Date: Sat, 7 Feb 2026 08:06:29 +0530 Subject: [PATCH 2/2] fix lint --- mobile/lib/utils/bootstrap.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/mobile/lib/utils/bootstrap.dart b/mobile/lib/utils/bootstrap.dart index 4a4eda9dc19ed..d63a92ba37a70 100644 --- a/mobile/lib/utils/bootstrap.dart +++ b/mobile/lib/utils/bootstrap.dart @@ -27,7 +27,6 @@ import 'package:isar/isar.dart'; import 'package:path_provider/path_provider.dart'; void configureFileDownloaderNotifications() { - FileDownloader().configureNotificationForGroup( kDownloadGroupImage, running: TaskNotification('downloading_media'.t(), '${'file_name_text'.t()}: {filename}'),