Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Use album wording in download skip toasts

ashilknf8305cfbef3b
diff --git a/mobile/apps/photos/lib/utils/download_skip_toast_util.dart b/mobile/apps/photos/lib/utils/download_skip_toast_util.dart
index 6a6f0bbf07..c24f655ef1 100644
--- a/mobile/apps/photos/lib/utils/download_skip_toast_util.dart
+++ b/mobile/apps/photos/lib/utils/download_skip_toast_util.dart
@@ -13,7 +13,7 @@ String buildSingleFileDownloadSkippedToastMessage(
? displayName
: fallbackFileName;
- return "$fileName is already available in the $folderName folder on your device";
+ return "$fileName is already available in the $folderName album on your device";
}
String buildSingleFileDownloadSkippedInMultiSelectionToastMessage(
@@ -29,13 +29,10 @@ String buildSingleFileDownloadSkippedInMultiSelectionToastMessage(
? displayName
: fallbackFileName;
- return "Download of $fileName skipped as it is already available in the $folderName folder on your device";
+ return "Download of $fileName skipped as it is already available in the $folderName album on your device";
}
String buildMultipleFilesDownloadSkippedToastMessage(int fileCount) {
- if (fileCount == 1) {
- return "Download of 1 file skipped as it is already on your device";
- }
return "Download of $fileCount files skipped as they are already on your device";
}