diff --git a/mobile/lib/ui/viewer/file/file_bottom_bar.dart b/mobile/lib/ui/viewer/file/file_bottom_bar.dart index 952d0ad153..a06824cf27 100644 --- a/mobile/lib/ui/viewer/file/file_bottom_bar.dart +++ b/mobile/lib/ui/viewer/file/file_bottom_bar.dart @@ -9,6 +9,7 @@ import 'package:photos/models/file/file.dart'; import 'package:photos/models/file/file_type.dart'; import 'package:photos/models/file/trash_file.dart'; import 'package:photos/models/selected_files.dart'; +import "package:photos/service_locator.dart"; import "package:photos/theme/colors.dart"; import "package:photos/theme/ente_theme.dart"; import "package:photos/ui/actions/file/file_actions.dart"; @@ -43,7 +44,7 @@ class FileBottomBar extends StatefulWidget { class FileBottomBarState extends State { final GlobalKey shareButtonKey = GlobalKey(); - late bool isPanorama; + bool isPanorama = false; int? lastFileGenID; @override @@ -53,8 +54,10 @@ class FileBottomBarState extends State { @override Widget build(BuildContext context) { - isPanorama = widget.file.isPanorama() ?? false; - _checkPanorama(); + if (flagService.internalUser) { + isPanorama = widget.file.isPanorama() ?? false; + _checkPanorama(); + } return _getBottomBar(); } diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml index cb801f6ef5..afb998dce5 100644 --- a/mobile/pubspec.yaml +++ b/mobile/pubspec.yaml @@ -12,7 +12,7 @@ description: ente photos application # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 0.9.11+911 +version: 0.9.12+912 publish_to: none environment: