Skip to content

Commit bc9c120

Browse files
committed
UX: Show fullscreen toggle on mobile devices in experimental mode #1307
Signed-off-by: Michael Mayer <michael@photoprism.app>
1 parent 04ca62d commit bc9c120

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/component/lightbox.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export default {
125125
canEdit: this.$config.allow("photos", "update") && this.$config.feature("edit"),
126126
canLike: this.$config.allow("photos", "manage") && this.$config.feature("favorites"),
127127
canDownload: this.$config.allow("photos", "download") && this.$config.feature("download"),
128-
canFullscreen: !this.$isMobile,
128+
canFullscreen: !this.$isMobile || this.$config.featExperimental(),
129129
isFullscreen: !window.screenTop && !window.screenY,
130130
isZoomable: true,
131131
mobileBreakpoint: 600, // Minimum viewport width for large screens.

0 commit comments

Comments
 (0)