π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Tweak
Manav Rathi5b9b328c997c
diff --git a/web/apps/photos/src/components/Sidebar.tsx b/web/apps/photos/src/components/Sidebar.tsxindex dd51591057..4690889d44 100644--- a/web/apps/photos/src/components/Sidebar.tsx+++ b/web/apps/photos/src/components/Sidebar.tsx@@ -821,7 +821,6 @@ const Preferences: React.FC<NestedSidebarDrawerVisibilityProps> = ({onClick={showAdvancedSettings}/>{isHLSGenerationSupported() && (- // TODO(HLS): Visual look<Stack><RowButtonGroupTitle icon={<ScienceIcon />}>{t("labs")}diff --git a/web/packages/gallery/components/viewer/data-source.ts b/web/packages/gallery/components/viewer/data-source.tsindex 8eccce3179..1cf614d4c4 100644--- a/web/packages/gallery/components/viewer/data-source.ts+++ b/web/packages/gallery/components/viewer/data-source.ts@@ -471,7 +471,7 @@ const enqueueUpdates = async ();} else {// 2. if the file is not eligible ("skip"), we can cache it.- // 3. Otherwise we shouldn't cache it indefinitely.+ // 3. Otherwise it's transient and shouldn't be cached indefinitely.update({ ...videoURLD, isTransient: hlsPlaylistData != "skip" });}};diff --git a/web/packages/gallery/services/video.ts b/web/packages/gallery/services/video.tsindex 06364d42fa..a17489328f 100644--- a/web/packages/gallery/services/video.ts+++ b/web/packages/gallery/services/video.ts@@ -178,9 +178,8 @@ export const hlsGenerationStatusSubscribe = (* A return value of `undefined` indicates that the HLS generation subsystem has* not been initialized yet.*/-export const hlsGenerationStatusSnapshot = ():- | HLSGenerationStatus- | undefined => _state.hlsGenerationStatusSnapshot;+export const hlsGenerationStatusSnapshot = () =>+ _state.hlsGenerationStatusSnapshot;const setHLSGenerationStatusSnapshot = (snapshot: HLSGenerationStatus) => {_state.hlsGenerationStatusSnapshot = snapshot;