MCPcopy Create free account
hub / github.com/facebook/Rapid / showViewer

Method showViewer

modules/core/PhotoSystem.js:663–671  ·  view source on GitHub ↗

* showViewer * Show the photo viewer

()

Source from the content-addressed store, hash-verified

661 * Show the photo viewer
662 */
663 showViewer() {
664 const context = this.context;
665 const layerID = this._currPhotoLayerID;
666 const photoID = this._currPhotoID;
667 if (!layerID || !photoID) return; // nothing to show
668
669 const service = context.services[layerID];
670 service?.showViewer();
671 }
672
673
674 /**

Callers 1

selectPhotoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected