From 4d41f2d64c432ec88d388413f9b224011a0da3ca Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sat, 29 Jun 2024 11:15:43 +0530 Subject: [PATCH] Remove unused --- web/packages/shared/storage/localStorage/helpers.ts | 8 -------- web/packages/shared/storage/localStorage/index.ts | 1 - 2 files changed, 9 deletions(-) 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",