Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove unused

Manav Rathi4d41f2d64c43
diff --git a/web/packages/shared/storage/localStorage/helpers.ts b/web/packages/shared/storage/localStorage/helpers.ts
index 95ae280e37..390ea93d92 100644
--- a/web/packages/shared/storage/localStorage/helpers.ts
+++ b/web/packages/shared/storage/localStorage/helpers.ts
@@ -21,14 +21,6 @@ export function setJustSignedUp(status: boolean) {
setData(LS_KEYS.JUST_SIGNED_UP, { status });
}
-export function getLivePhotoInfoShownCount() {
- return getData(LS_KEYS.LIVE_PHOTO_INFO_SHOWN_COUNT)?.count ?? 0;
-}
-
-export function setLivePhotoInfoShownCount(count: boolean) {
- setData(LS_KEYS.LIVE_PHOTO_INFO_SHOWN_COUNT, { count });
-}
-
export function getLocalMapEnabled(): boolean {
return getData(LS_KEYS.MAP_ENABLED)?.value ?? false;
}
diff --git a/web/packages/shared/storage/localStorage/index.ts b/web/packages/shared/storage/localStorage/index.ts
index 3df5caf973..c95fa01bf7 100644
--- a/web/packages/shared/storage/localStorage/index.ts
+++ b/web/packages/shared/storage/localStorage/index.ts
@@ -12,7 +12,6 @@ export enum LS_KEYS {
SHOW_BACK_BUTTON = "showBackButton",
EXPORT = "export",
THUMBNAIL_FIX_STATE = "thumbnailFixState",
- LIVE_PHOTO_INFO_SHOWN_COUNT = "livePhotoInfoShownCount",
// LOGS = "logs",
USER_DETAILS = "userDetails",
COLLECTION_SORT_BY = "collectionSortBy",