High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: image download complete notification shows an extra {file_name} template tag (#25936)
Romo1b3c0e4f6586
diff --git a/mobile/lib/utils/bootstrap.dart b/mobile/lib/utils/bootstrap.dartindex 25ca64e8c3..84a9ab52e1 100644--- a/mobile/lib/utils/bootstrap.dart+++ b/mobile/lib/utils/bootstrap.dart@@ -27,17 +27,19 @@ 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(), '${'file_name'.t()}: {filename}'),- complete: TaskNotification('download_finished'.t(), '${'file_name'.t()}: {filename}'),+ running: TaskNotification('downloading_media'.t(), fileName),+ complete: TaskNotification('download_finished'.t(), fileName),progressBar: true,);FileDownloader().configureNotificationForGroup(kDownloadGroupVideo,- running: TaskNotification('downloading_media'.t(), '${'file_name'.t()}: {filename}'),- complete: TaskNotification('download_finished'.t(), '${'file_name'.t()}: {filename}'),+ running: TaskNotification('downloading_media'.t(), fileName),+ complete: TaskNotification('download_finished'.t(), fileName),progressBar: true,);