|
@@ -10,6 +10,7 @@ import "package:photos/ente_theme_data.dart";
|
|
|
import "package:photos/models/file.dart";
|
|
|
import "package:photos/models/file_type.dart";
|
|
|
import 'package:photos/services/collections_service.dart';
|
|
|
+import "package:photos/services/feature_flag_service.dart";
|
|
|
import 'package:photos/theme/ente_theme.dart';
|
|
|
import 'package:photos/ui/components/divider_widget.dart';
|
|
|
import 'package:photos/ui/components/icon_button_widget.dart';
|
|
@@ -236,14 +237,16 @@ class _FileInfoWidgetState extends State<FileInfoWidget> {
|
|
|
: DeviceFoldersListOfFileWidget(allDeviceFoldersOfFile),
|
|
|
),
|
|
|
),
|
|
|
- SizedBox(
|
|
|
- height: 62,
|
|
|
- child: ListTile(
|
|
|
- horizontalTitleGap: 0,
|
|
|
- leading: const Icon(Icons.image_search),
|
|
|
- title: ObjectTagsWidget(file),
|
|
|
- ),
|
|
|
- ),
|
|
|
+ FeatureFlagService.instance.isInternalUserOrDebugBuild()
|
|
|
+ ? SizedBox(
|
|
|
+ height: 62,
|
|
|
+ child: ListTile(
|
|
|
+ horizontalTitleGap: 0,
|
|
|
+ leading: const Icon(Icons.image_search),
|
|
|
+ title: ObjectTagsWidget(file),
|
|
|
+ ),
|
|
|
+ )
|
|
|
+ : null,
|
|
|
(file.uploadedFileID != null && file.updationTime != null)
|
|
|
? ListTile(
|
|
|
horizontalTitleGap: 2,
|