π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Start dusting
Manav Rathia056cfd1544c
diff --git a/web/packages/gallery/components/viewer/FileViewer.tsx b/web/packages/gallery/components/viewer/FileViewer.tsxindex e49d97001e..22fbb9f494 100644--- a/web/packages/gallery/components/viewer/FileViewer.tsx+++ b/web/packages/gallery/components/viewer/FileViewer.tsx@@ -944,7 +944,7 @@ const Shortcuts: React.FC<ModalVisibilityProps> = ({ open, onClose }) => (action="Toggle controls"shortcut="H, Tap outside image"/>- <Shortcut action="Pan" shortcut="W / A / S / D, Drag" />+ <Shortcut action="Pan" shortcut="W A S D, Drag" /><Shortcut action="Toggle live" shortcut="Space" /><Shortcut action="Toggle audio" shortcut="M" /><Shortcut action="Toggle favorite" shortcut="L" />diff --git a/web/packages/gallery/components/viewer/photoswipe.ts b/web/packages/gallery/components/viewer/photoswipe.tsindex e81d70740c..bb34a1d316 100644--- a/web/packages/gallery/components/viewer/photoswipe.ts+++ b/web/packages/gallery/components/viewer/photoswipe.ts@@ -245,7 +245,6 @@ export class FileViewerPhotoSwipe {// Set the index within files that we should open to. Subsequent// updates to the index will be tracked by PhotoSwipe internally.index: initialIndex,- // TODO(PS): padding option? for handling custom title bar.// TODO(PS): will we need this?mainClass: "pswp-ente",// TODO(PS): Translated variants@@ -686,8 +685,7 @@ export class FileViewerPhotoSwipe {pswp.ui.registerElement({name: "live",- // TODO(PS):- title: pt("Toggle live"),+ title: pt("Live"),order: 7,isButton: true,html: createPSRegisterElementIconHTML("live"),@@ -708,8 +706,7 @@ export class FileViewerPhotoSwipe {pswp.ui.registerElement({name: "vol",- // TODO(PS):- title: pt("Toggle audio"),+ title: pt("Audio"),order: 8,isButton: true,html: createPSRegisterElementIconHTML("vol"),@@ -728,7 +725,9 @@ export class FileViewerPhotoSwipe {onClick: livePhotoToggleMuteIfPossible,});- // TODO(PS): Force convert button for videos+ // TODO(PS): Add force convert button for videos? Or is that covered+ // by upcoming streaming changes?+pswp.ui.registerElement({name: "error",order: 9,@@ -792,7 +791,6 @@ export class FileViewerPhotoSwipe {pswp.ui.registerElement({name: "more",- // TODO(PS):title: pt("More"),order: 16,isButton: true,@@ -833,15 +831,6 @@ export class FileViewerPhotoSwipe {});});- // Modify the default UI elements.- pswp.addFilter("uiElement", (element, data) => {- if (element.name == "preloader") {- // TODO(PS): Left as an example. For now, this is customized in- // the CSS.- }- return element;- });-// Pan action handlersconst panner = (key: "w" | "a" | "s" | "d") => () => {