π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline and prune
Manav Rathid3b47776c3d7
diff --git a/web/apps/photos/src/constants/collection.ts b/web/apps/photos/src/constants/collection.tsindex 8e975da921..c8c9d7b08b 100644--- a/web/apps/photos/src/constants/collection.ts+++ b/web/apps/photos/src/constants/collection.ts@@ -3,7 +3,6 @@ export const TRASH_SECTION = -2;export const DUMMY_UNCATEGORIZED_COLLECTION = -3;export const HIDDEN_ITEMS_SECTION = -4;export const ALL_SECTION = 0;-export const DEFAULT_HIDDEN_COLLECTION_USER_FACING_NAME = "Hidden";export enum CollectionType {folder = "folder",@@ -35,10 +34,6 @@ export enum COLLECTION_LIST_SORT_BY {UPDATION_TIME_DESCENDING,}-export const COLLECTION_SHARE_DEFAULT_VALID_DURATION =- 10 * 24 * 60 * 60 * 1000 * 1000;-export const COLLECTION_SHARE_DEFAULT_DEVICE_LIMIT = 4;-export const COLLECTION_SORT_ORDER = new Map([[CollectionSummaryType.all, 0],[CollectionSummaryType.hiddenItems, 0],diff --git a/web/apps/photos/src/utils/collection/index.ts b/web/apps/photos/src/utils/collection/index.tsindex 2b9498fd14..6e9b1b0f4b 100644--- a/web/apps/photos/src/utils/collection/index.ts+++ b/web/apps/photos/src/utils/collection/index.ts@@ -577,6 +577,8 @@ export function constructCollectionNameMap();}+const DEFAULT_HIDDEN_COLLECTION_USER_FACING_NAME = "Hidden";+export const getCollectionUserFacingName = (collection: Collection) => {if (isDefaultHiddenCollection(collection)) {return DEFAULT_HIDDEN_COLLECTION_USER_FACING_NAME;