[mob] Disable panorama for external users (#2482)
## Description ## Tests
This commit is contained in:
@@ -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<FileBottomBar> {
|
||||
final GlobalKey shareButtonKey = GlobalKey();
|
||||
late bool isPanorama;
|
||||
bool isPanorama = false;
|
||||
int? lastFileGenID;
|
||||
|
||||
@override
|
||||
@@ -53,8 +54,10 @@ class FileBottomBarState extends State<FileBottomBar> {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
isPanorama = widget.file.isPanorama() ?? false;
|
||||
_checkPanorama();
|
||||
if (flagService.internalUser) {
|
||||
isPanorama = widget.file.isPanorama() ?? false;
|
||||
_checkPanorama();
|
||||
}
|
||||
return _getBottomBar();
|
||||
}
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user