Enable video editor for internal users

This commit is contained in:
Neeraj Gupta 2024-06-05 12:30:11 +05:30
parent 24ea4374cf
commit bf36f415db

View File

@ -8,6 +8,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";
@ -86,7 +87,8 @@ class FileBottomBarState extends State<FileBottomBar> {
if (!widget.showOnlyInfoButton && widget.file is! TrashFile) {
if (widget.file.fileType == FileType.image ||
widget.file.fileType == FileType.livePhoto ||
widget.file.fileType == FileType.video) {
(flagService.internalUser &&
widget.file.fileType == FileType.video)) {
children.add(
Tooltip(
message: "Edit",